diff options
| author | Julian Blake Kongslie | 2021-07-16 13:22:51 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-07-16 13:22:51 -0700 |
| commit | 765420c81d144bb08021a7aa09a9a0692f5d6322 (patch) | |
| tree | 757bee21385f646fe1fedb1eeba627acbb8cdd09 /sim/top.sv | |
| parent | Reformat modules.rb to be a little easier to read. (diff) | |
| download | breadboarding-765420c81d144bb08021a7aa09a9a0692f5d6322.tar.xz | |
Add counter module and simplify board design for shift instructions.
Diffstat (limited to 'sim/top.sv')
| -rw-r--r-- | sim/top.sv | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -14,6 +14,7 @@ bit [BUS_BITS-1:0] dbus; | |||
| 14 | 14 | ||
| 15 | alu #("../out/alu.bin", UIP_BITS, UROM_BITS, BUS_BITS) alu(clk, reset, uip, abus, dbus); | 15 | alu #("../out/alu.bin", UIP_BITS, UROM_BITS, BUS_BITS) alu(clk, reset, uip, abus, dbus); |
| 16 | control #("../out/control.bin", UIP_BITS, UROM_BITS, BUS_BITS, "../out/consts.0.bin", "../out/consts.1.bin", 'h7ff8) control(clk, reset, uip, abus, dbus); | 16 | control #("../out/control.bin", UIP_BITS, UROM_BITS, BUS_BITS, "../out/consts.0.bin", "../out/consts.1.bin", 'h7ff8) control(clk, reset, uip, abus, dbus); |
| 17 | counter #("../out/counter.bin", UIP_BITS, UROM_BITS, BUS_BITS) counter(clk, reset, uip, abus, dbus); | ||
| 17 | decode #("../out/decode.bin", UIP_BITS, UROM_BITS, BUS_BITS, 12) decode(clk, reset, uip, abus, dbus); | 18 | decode #("../out/decode.bin", UIP_BITS, UROM_BITS, BUS_BITS, 12) decode(clk, reset, uip, abus, dbus); |
| 18 | memory #("../out/memory.bin", UIP_BITS, UROM_BITS, BUS_BITS, "../out/image.hex", MEM_BITS) memory(clk, reset, uip, abus, dbus); | 19 | memory #("../out/memory.bin", UIP_BITS, UROM_BITS, BUS_BITS, "../out/image.hex", MEM_BITS) memory(clk, reset, uip, abus, dbus); |
| 19 | pc #("../out/pc.bin", UIP_BITS, UROM_BITS, BUS_BITS, 0) pc(clk, reset, uip, abus, dbus); | 20 | pc #("../out/pc.bin", UIP_BITS, UROM_BITS, BUS_BITS, 0) pc(clk, reset, uip, abus, dbus); |
