Repository navigation
Releases
Releases · PMTSantos/LogicCraft
LogicCraft CAD v1.2.0
LogicCraft CAD v1.1.2
Full Changelog: v1.1.1...v1.1.2
Full Changelog: v1.1.1...v1.1.2
Full Changelog: v1.1.1...v1.1.2
Full Changelog: v1.1.1...v1.1.2
LogicCraft CAD v1.1.1
LogicCraft CAD v1.1.1 — Top-Bar DEMO Menu, Context-Aware Toolbar, Full QWERTY/ASCII Keyboard & Detailed Pinouts
Added
- Top-Bar
DEMOMenu Dropdown (src/ui_panels.rs,src/i18n.rs,src/simulator.rs):- Added a dedicated
DEMOmenu button directly next to theVIEW(VER) menu on the top navigation bar across all 5 locales (EN,PT,ES,FR,DE). - Moved the demo circuit launchers out of the
FILE(FICHEIRO) dropdown into the newDEMOdropdown with 5 ready-to-run demonstration circuits:- 4-Bit Counter + Adder + 7-Seg (
populate_counter_adder_demo) - RAM 16x4 + 7-Seg Decoder (
populate_ram_decoder_demo) - Pong Arcade (CPU + MMIO + Dual VRAM) (
populate_pong_demo_standalone) - QWERTY Keyboard + ASCII Bus + CPU Terminal (
populate_keyboard_terminal_demo) - Full Showcase Workspace (3 Pages) (
populate_demo_circuit)
- 4-Bit Counter + Adder + 7-Seg (
- Added a dedicated
- Full QWERTY / ASCII Keyboard Peripheral (
FULL_KEYBOARD_COMPONENT):- Added a complete QWERTY + ASCII + Arrows keyboard peripheral in library
12 - CPU & Peripheralsalongside the compact Arcade Keyboard. - Renders an interactive 5-row keyboard on the canvas (
0–9,Q–P,A–L,Z–M,Shift,Space,Bksp,Esc,Enter, and▲/▼/◄/►directional keys) with a live ASCII character and hex code readout header. - Captures both physical host keyboard input and direct mouse clicks on any keycap on the canvas or in the Inspector panel.
- Drives an 8-bit ASCII output bus (
ASCII_7..ASCII_0), aKEY_VALIDstrobe pin, and dedicated directional/action output pins (UP,DOWN,LEFT,RIGHT,ENTER), plusRSTandCLRinputs. - Expanded Memory-Mapped I/O (
MemoryBus) withMMIO_KEY_LAST(0xF006),MMIO_KEY_ASCII(0xF007),MMIO_KEY_DIR(0xF008), andMMIO_KEY_MODIFIERS(0xF009), also registered as built-in Assembler symbols.
- Added a complete QWERTY + ASCII + Arrows keyboard peripheral in library
- Detailed Pinout & Signal Descriptions for CPU, Displays, and Keyboards (
src/library.rs,src/canvas_view.rs,src/canvas_renderer.rs,src/ui_panels.rs):- Added
describe_pin()with localized (EN/PT) functional role titles and detailed hardware/MMIO signal explanations for every pin ofCPU_COMPONENT,DISPLAY_COMPONENT,KEYBOARD_COMPONENT, andFULL_KEYBOARD_COMPONENT. - Hovering over any pin on the canvas now shows a multi-line tooltip with the pin's logic state, functional title, and detailed hardware description.
- Added crisp on-package pin labels inside the component bezels on the canvas and a collapsible
📌 PINOUT & SIGNAL DESCRIPTIONSreference section in the Inspector panel.
- Added
Changed
- Context-Aware Toolbar Buttons Beyond Oscilloscope (
src/ui_panels.rs):- Toolbar buttons after
📈 O-Scopenow appear dynamically only when a component that uses them is present on the canvas:🗐 Memoryonly appears when at least one memory device (RAM,ROM, orCPU_COMPONENT) exists on the canvas.🖥 CPU / ASMonly appears when aCPU_COMPONENTexists on the canvas.
- Toolbar buttons after
- Removed
🏓 PONGToolbar Button:- Removed the standalone
🏓 PONGbutton from the top action toolbar (Pong Arcade is now available directly in the top-barDEMOmenu).
- Removed the standalone
Full Changelog: v1.1.0...v1.1.1
LogicCraft CAD v1.1.0
LogicCraft CAD v1.1.0 — Programmable Multi-Architecture CPU, MMIO Graphical Displays, Arcade Keyboard & Pong
Added
-
Modular Multi-Architecture CPU Infrastructure (
src/cpu/):-
Pluggable
CpuCoreTrait: Unified hardware interface (step(),reset(),load_program(),registers(),disassemble_current(),disassemble_at(),get_state(),set_pc()) allowing runtime switching between processor architectures. -
Three Built-In Processor Cores:
-
RISC-V RV32I (
Rv32iCore): 32-bit general-purpose processor with 32 registers (x0–x31), arithmetic/logic operations, branches, jumps (jal/jalr), multiplication/division (RV32M), and byte/halfword/word memory access. -
LC-16 Custom (
Lc16Core): 16-bit custom RISC/CISC architecture with 16 primary registers (r0–r15), status flags (Z,N,C,V), stack instructions (PUSH/POP/CALL/RET), and full assembler compatibility. -
MIN-8 Minimal (
Min8Core): 8-bit educational processor core supporting compact accumulator/register instructions (LDI,LDA,STA,ADD,SUB,INC,DEC,CMP,JMP,JZ,JNZ).
-
RISC-V RV32I (
-
Unified 64 KB Memory Bus & Memory-Mapped I/O (
MemoryBus):-
0x0000..=0x3FFF(16 KB): Program ROM / Code segment. -
0x4000..=0x7FFF(16 KB): Data RAM and Stack (SPinitialized to0x7FFC). -
0x8000..=0xEFFF(28 KB): Video RAM (VRAM) supporting multiple simultaneous graphical displays. -
0xF000..=0xFFFF(4 KB): Memory-Mapped I/O (MMIO) registers for keyboard state (0xF000–0xF006), hardware RNG (0xF010), frame tick counter (0xF012), 60 Hz VSync (0xF016), Player 1 & Player 2 scores (0xF020–0xF021), GPIO pins (0xF022–0xF023), and fast VRAM clear (0xF030).
-
-
Integrated Multi-Architecture Assembler (
src/cpu/assembler.rs):- Supports labels, symbolic constants (
.equ), memory directives (.org,.byte,.word,.dword,.space), pseudo-instructions (li,la,mv,j,ret,neg,not,bgt,ble,beqz,bnez), and line-accurate syntax error reporting with highlighted source lines.
- Supports labels, symbolic constants (
-
Pluggable
-
New Canvas Hardware Components (
12 - CPU & Peripherals):-
Programmable CPU (
CPU_COMPONENT): Interactive processor package on the circuit canvas with bus/control pins (CLK,RST,IN_0..3,ADDR_0..3,DATA_0..3,RW,HALT), configurable between an internal high-speed clock (1 kHz to 1 MHz) and external circuit clock pin stepping. -
VRAM Graphical Monitor (
DISPLAY_COMPONENT): Add multiple graphical monitors to the same circuit canvas, each independently configurable in the Inspector for VRAM Base Address (e.g.0x8000,0x8800,0x9000,0xA000to mirror or split displays), Resolution (64x32,128x64,64x64), and Color Palette (Classic Monochrome, Amber CRT, Matrix Green, and Game Boy 4-Color). -
Arcade Keyboard Input (
KEYBOARD_COMPONENT): Captures real-time keyboard events (Player 1:W/S, Player 2:Up/Down, Start/Reset:Space/Enter) and maps them to both MMIO registers (0xF000–0xF005) and digital output pins on the canvas.
-
Programmable CPU (
-
CPU & Assembly Studio / Real-Time Debugger (
Ctrl+M/🖥 CPU / ASM):- Embedded Assembly code editor with line numbers, active
PCline indicator (▶), syntax error banner with highlighted offending lines, CPU architecture selector dropdown, and Assemble & Load, Load .asm, Save .asm, and Pong.asm actions. - Real-time simulation controls: Run, Pause, Single Step (1 instruction), Reset, clock mode toggle, and real-time clock speed slider (1 kHz – 1 MHz).
- Live hardware inspection panel featuring a Register Viewer (Hexadecimal and Decimal values with modified-register highlighting,
PC,SP, cycle counter, andZ/N/C/Vflags), Live Disassembler showing the current instruction underPCand upcoming instructions, and Memory Hex Dump Viewer with one-click jumps toROM 0x0000,RAM 0x4000,VRAM 0x8000, andMMIO 0xF000.
- Embedded Assembly code editor with line numbers, active
-
2-Player Local Pong Arcade Game in Assembly (
examples/pong.asm):- Complete playable 2-player local Pong demonstration pre-loaded on the Pong Arcade (CPU + MMIO) circuit tab (
🏓 PONGtoolbar button) featuringW/SandUp/Downpaddle controls, 2D ball velocity$(dx, dy)$ , top/bottom wall reflection ($dy = -dy$ ), paddle collision reflection ($dx = -dx$ ), goal detection with score tracking and center ball reset, and 60 FPS VSync-paced VRAM rendering.
- Complete playable 2-player local Pong demonstration pre-loaded on the Pong Arcade (CPU + MMIO) circuit tab (
Full Changelog: v1.0.6...v1.1.0
LogicCraft CAD v1.0.6
LogicCraft CAD v1.0.5
LogicCraft CAD v1.0.4
LogicCraft CAD v1.0.3
LogicCraft CAD v1.0.2
LogicCraft CAD v1.0.1
Full Changelog: v1.0.0...v1.0.1
Full Changelog: v1.0.0...v1.0.1
Full Changelog: v1.0.0...v1.0.1
Full Changelog: v1.0.0...v1.0.1
Full Changelog: v1.0.0...v1.0.1