]> Joshua Wise's Git repositories - firearm.git/log
firearm.git
14 years agoICache: Change cache_data to block RAM (yay!).
Joshua Wise [Mon, 22 Feb 2010 08:15:28 +0000 (03:15 -0500)]
ICache: Change cache_data to block RAM (yay!).

14 years agoICache, Fetch: Re-pipe things such that the icache now has a one-cycle latency. ...
Joshua Wise [Mon, 22 Feb 2010 07:20:36 +0000 (02:20 -0500)]
ICache, Fetch: Re-pipe things such that the icache now has a one-cycle latency.  It hasn't been internally rerouted yet to take advantage of this; that comes next.

14 years agoxst/Console: Change divisors.
Joshua Wise [Mon, 22 Feb 2010 07:18:13 +0000 (02:18 -0500)]
xst/Console: Change divisors.

14 years agoFetch, ICache: Autoize ICache/Fetch interface, and rename with more stylish names.
Joshua Wise [Mon, 22 Feb 2010 03:27:54 +0000 (22:27 -0500)]
Fetch, ICache: Autoize ICache/Fetch interface, and rename with more stylish names.

14 years agoMakefile: Add 'auto' target to verilog-modeify.
Joshua Wise [Mon, 22 Feb 2010 03:26:54 +0000 (22:26 -0500)]
Makefile: Add 'auto' target to verilog-modeify.

14 years agobuild system: Produce a top level makefile that invokes Verilator, so that I don...
Joshua Wise [Sun, 21 Feb 2010 00:04:19 +0000 (19:04 -0500)]
build system: Produce a top level makefile that invokes Verilator, so that I don't have to remember how each time.

14 years agoTestbench: use 'urxvt', not 'rxvt'.
Joshua Wise [Sun, 21 Feb 2010 00:03:15 +0000 (19:03 -0500)]
Testbench: use 'urxvt', not 'rxvt'.

15 years agoConsole: Put the core in its own clock domain.
Joshua Wise [Wed, 18 Mar 2009 15:58:32 +0000 (11:58 -0400)]
Console: Put the core in its own clock domain.

15 years agoMakefile: No longer need symlinked files.
Joshua Wise [Wed, 18 Mar 2009 15:56:59 +0000 (11:56 -0400)]
Makefile: No longer need symlinked files.

15 years agoAdd testbench padded hex.
Joshua Wise [Wed, 18 Mar 2009 15:48:07 +0000 (11:48 -0400)]
Add testbench padded hex.

15 years agoxst: Add synthesis files (part 1).
Joshua Wise [Wed, 18 Mar 2009 15:46:43 +0000 (11:46 -0400)]
xst: Add synthesis files (part 1).

15 years agotestbench: Add a putc(getc()) loop.
Joshua Wise [Wed, 18 Mar 2009 01:09:09 +0000 (21:09 -0400)]
testbench: Add a putc(getc()) loop.

15 years agoTerminal: Fix to have non-blocking assigns in flop blocks.
Joshua Wise [Wed, 18 Mar 2009 01:08:10 +0000 (21:08 -0400)]
Terminal: Fix to have non-blocking assigns in flop blocks.

15 years agoMemory: Add work-around for Xilinx bug in MULT.
Joshua Wise [Tue, 17 Mar 2009 23:42:25 +0000 (19:42 -0400)]
Memory: Add work-around for Xilinx bug in MULT.

15 years agoDCache: Clear out a rw_wait reference in a $display that caused Verilator to throw...
Joshua Wise [Tue, 17 Mar 2009 01:23:34 +0000 (21:23 -0400)]
DCache: Clear out a rw_wait reference in a $display that caused Verilator to throw a UNOPTFLAT. Now we have no more UNOPTFLAT! Yay!

15 years agoFetch: Rewrite for the 317235784th time, this time based off a block diagram on paper...
Joshua Wise [Tue, 17 Mar 2009 01:19:51 +0000 (21:19 -0400)]
Fetch: Rewrite for the 317235784th time, this time based off a block diagram on paper and solid principles that do not involve combinatorial loops. -.-

15 years agoMemory: Fix bug in which swp_oldval does not get latched (oops!). Make align_rddata...
Joshua Wise [Thu, 26 Feb 2009 01:51:48 +0000 (20:51 -0500)]
Memory: Fix bug in which swp_oldval does not get latched (oops!).  Make align_rddata not a latch.

15 years agoMemory: Do not progress LSM state machine if rw_wait.
Joshua Wise [Sun, 22 Feb 2009 09:16:37 +0000 (04:16 -0500)]
Memory: Do not progress LSM state machine if rw_wait.

15 years agoMemory: Fix multisource for offset.
Joshua Wise [Sun, 22 Feb 2009 04:07:19 +0000 (23:07 -0500)]
Memory: Fix multisource for offset.

15 years agoMemory: Clean up some sadness with wr_data where no data would ever get wr'ed on...
Joshua Wise [Mon, 9 Feb 2009 08:35:58 +0000 (03:35 -0500)]
Memory: Clean up some sadness with wr_data where no data would ever get wr'ed on STM.

15 years agoMemory: Fix up latch logic for LDM/STM.
Joshua Wise [Sun, 1 Feb 2009 00:37:41 +0000 (19:37 -0500)]
Memory: Fix up latch logic for LDM/STM.

15 years agoMemory: Only make the final latch for prev_reg and regs be gated on rw_wait.
Joshua Wise [Sat, 31 Jan 2009 10:49:31 +0000 (05:49 -0500)]
Memory: Only make the final latch for prev_reg and regs be gated on rw_wait.

15 years agoMemory: Split out bus address and data control logic. Split out LDM/STM register...
Joshua Wise [Sat, 31 Jan 2009 10:15:23 +0000 (05:15 -0500)]
Memory: Split out bus address and data control logic.  Split out LDM/STM register control logic.

15 years agoMemory: Move offset, addr, and raddr to address generation block.
Joshua Wise [Sat, 31 Jan 2009 09:16:37 +0000 (04:16 -0500)]
Memory: Move offset, addr, and raddr to address generation block.

15 years agoMemory: Move all bus control logic to its own always block.
Joshua Wise [Sat, 31 Jan 2009 09:12:17 +0000 (04:12 -0500)]
Memory: Move all bus control logic to its own always block.

15 years agoMemory: Move coprocessor and register outputs to their own always blocks.
Joshua Wise [Sat, 31 Jan 2009 08:17:23 +0000 (03:17 -0500)]
Memory: Move coprocessor and register outputs to their own always blocks.

15 years agoMemory: Move all state machine code out to its own always block.
Joshua Wise [Sat, 31 Jan 2009 07:49:29 +0000 (02:49 -0500)]
Memory: Move all state machine code out to its own always block.

15 years agoMemory: Remove magic numbers from state machines.
Joshua Wise [Sat, 31 Jan 2009 06:41:02 +0000 (01:41 -0500)]
Memory: Remove magic numbers from state machines.

15 years agoIssue, system, RegFile: First pass at adding resets.
Joshua Wise [Sun, 25 Jan 2009 12:14:15 +0000 (07:14 -0500)]
Issue, system, RegFile: First pass at adding resets.

15 years agotests/Makefile: Add a target to pad binaries for Xilinx tools.
Joshua Wise [Sun, 25 Jan 2009 12:13:42 +0000 (07:13 -0500)]
tests/Makefile: Add a target to pad binaries for Xilinx tools.

15 years agoMemory: Fix up a constant that was typoed and malformed.
Joshua Wise [Sun, 25 Jan 2009 08:39:09 +0000 (03:39 -0500)]
Memory: Fix up a constant that was typoed and malformed.

15 years agoDCache, ICache: Make cache_data a 1-D array to enable better synthesizability on...
Joshua Wise [Sat, 24 Jan 2009 10:37:43 +0000 (05:37 -0500)]
DCache, ICache: Make cache_data a 1-D array to enable better synthesizability on Xilinx.

15 years agoSystem, Terminal: Provide real-world outputs on non-Verilator to avoid optimizing...
Joshua Wise [Sat, 24 Jan 2009 10:08:28 +0000 (05:08 -0500)]
System, Terminal: Provide real-world outputs on non-Verilator to avoid optimizing the whole system to nothing.

15 years agoFetch: Fix async reset to actually not do it wrong.
Joshua Wise [Sat, 24 Jan 2009 09:31:18 +0000 (04:31 -0500)]
Fetch: Fix async reset to actually not do it wrong.

15 years agoIssue: Use wires, since again XST can't always @(cpsr_inflight).
Joshua Wise [Sat, 24 Jan 2009 09:18:58 +0000 (04:18 -0500)]
Issue: Use wires, since again XST can't always @(cpsr_inflight).

15 years agoRegFile: Move to assigns, since XST can't always @(regfile).
Joshua Wise [Sat, 24 Jan 2009 09:18:39 +0000 (04:18 -0500)]
RegFile: Move to assigns, since XST can't always @(regfile).

15 years agoDCache, ICache: Move curdata out to its own wire for synthesis. Fix up a blocking...
Joshua Wise [Sat, 24 Jan 2009 08:56:01 +0000 (03:56 -0500)]
DCache, ICache: Move curdata out to its own wire for synthesis.  Fix up a blocking assign that should be a nonblocking assign.

15 years agoBigBlockRAM: Remove excess F.
Joshua Wise [Sat, 24 Jan 2009 08:46:00 +0000 (03:46 -0500)]
BigBlockRAM: Remove excess F.

15 years agoExecute: Split things out into their own always blocks there, too.
Joshua Wise [Sat, 24 Jan 2009 08:44:25 +0000 (03:44 -0500)]
Execute: Split things out into their own always blocks there, too.

15 years agoDecode: De-UNOPTFLAT it.
Joshua Wise [Sat, 24 Jan 2009 08:13:53 +0000 (03:13 -0500)]
Decode: De-UNOPTFLAT it.

15 years agoAdd a BigBlockRAM that's 8MB (and obviously not very synthesizable). Make system...
Joshua Wise [Sat, 24 Jan 2009 05:56:31 +0000 (00:56 -0500)]
Add a BigBlockRAM that's 8MB (and obviously not very synthesizable).  Make system use it on verilator.

15 years agotests/*.hex: Update hex files.
Joshua Wise [Sat, 24 Jan 2009 05:54:01 +0000 (00:54 -0500)]
tests/*.hex: Update hex files.

15 years agoAdd a .gitattributes file to force hex files to be binary-like.
Joshua Wise [Sat, 24 Jan 2009 05:53:37 +0000 (00:53 -0500)]
Add a .gitattributes file to force hex files to be binary-like.

15 years agotests/miniblarg: Make the ROM easier to read.
Joshua Wise [Sat, 24 Jan 2009 05:45:12 +0000 (00:45 -0500)]
tests/miniblarg: Make the ROM easier to read.

15 years agoTerminal: Add support for reading characters.
Joshua Wise [Sat, 24 Jan 2009 05:40:32 +0000 (00:40 -0500)]
Terminal: Add support for reading characters.

15 years agoMemory: Add STRB support, en manera de A.
Joshua Wise [Sat, 24 Jan 2009 05:39:59 +0000 (00:39 -0500)]
Memory: Add STRB support, en manera de A.

15 years agotests/u-boot.hex: Add initial hex file.
Joshua Wise [Fri, 23 Jan 2009 12:37:53 +0000 (07:37 -0500)]
tests/u-boot.hex: Add initial hex file.

15 years agoExecute: Fix carry flag on subtraction operations.
Joshua Wise [Fri, 23 Jan 2009 12:37:25 +0000 (07:37 -0500)]
Execute: Fix carry flag on subtraction operations.

15 years agoIssue: Fix case in which lr is read in the instruction immediately after a bl; now...
Joshua Wise [Fri, 23 Jan 2009 09:58:39 +0000 (04:58 -0500)]
Issue: Fix case in which lr is read in the instruction immediately after a bl; now flushes no longer clear inflight registers (which makes this a superset of the correct behavior), and now def_regs, well, defines regs.  This fixed the miniblarg -O1 bug.

15 years agotests/testbench: Commit new .hex file built with -O3 (2fast2furious).
Joshua Wise [Thu, 22 Jan 2009 07:59:51 +0000 (02:59 -0500)]
tests/testbench: Commit new .hex file built with -O3 (2fast2furious).

15 years agoExecute: Branches allow somebody else to take precedence by not branching if outstall...
Joshua Wise [Thu, 22 Jan 2009 07:59:16 +0000 (02:59 -0500)]
Execute: Branches allow somebody else to take precedence by not branching if outstall is asserted.  outstall must be low for at least one clock cycle, so the branch is guaranteed to eventually happen if it is in fact legitimate and not shot down.

15 years agoFetch: Allow new queued jumps to take precedence over old queued jumps (i.e., ldm...
Joshua Wise [Thu, 22 Jan 2009 07:58:24 +0000 (02:58 -0500)]
Fetch: Allow new queued jumps to take precedence over old queued jumps (i.e., ldm followed by bl; the bl happens first, but the ldm is what we really want in the end)

15 years agosystem, Writeback, Memory, Execute: Only update the CPSR when an update is specified...
Joshua Wise [Thu, 22 Jan 2009 07:09:09 +0000 (02:09 -0500)]
system, Writeback, Memory, Execute: Only update the CPSR when an update is specified (and expected by Issue).

15 years agoDCache/ICache: reg i -> integer i
Joshua Wise [Wed, 21 Jan 2009 20:31:18 +0000 (15:31 -0500)]
DCache/ICache: reg i -> integer i

15 years agoIssue: Fix use_regs for LDRSTR when not acting on an immediate value.
Joshua Wise [Mon, 19 Jan 2009 16:16:57 +0000 (11:16 -0500)]
Issue: Fix use_regs for LDRSTR when not acting on an immediate value.

15 years agoMemory: Fix the case where a LDM/LDR/LDRH/STM/STR/STRH would not get rejected if...
Joshua Wise [Mon, 19 Jan 2009 09:28:32 +0000 (04:28 -0500)]
Memory: Fix the case where a LDM/LDR/LDRH/STM/STR/STRH would not get rejected if stall was asserted because of a wait.

15 years agoMemory: Add one more state to lsr/lsrh/lsm to force the writeback to be committed...
Joshua Wise [Mon, 19 Jan 2009 09:05:47 +0000 (04:05 -0500)]
Memory: Add one more state to lsr/lsrh/lsm to force the writeback to be committed.  This is kind of a gross hack, but it can be fixed later with a 'busy' flag that gets set in the middle of a multi-cycle instruction that would get checked by the delayedflush logic.  Also, make sure that we do not progress past the first stage if a flush is requested while we're on the first stage, as would happen if we had an ldr right after a ldr pc, ...

15 years agoMemory: Fix bug in which multiplies would cause a HDATA access. Fix bug in which...
Joshua Wise [Sun, 18 Jan 2009 10:50:10 +0000 (05:50 -0500)]
Memory: Fix bug in which multiplies would cause a HDATA access.  Fix bug in which LDRSTR would always do a regfile write, trashing a register on a STR instruction. (!)

15 years agotests/testbench: Add miniblarg. Put ldm_bonehead in a place where it will not get...
Joshua Wise [Sun, 18 Jan 2009 09:19:52 +0000 (04:19 -0500)]
tests/testbench: Add miniblarg.  Put ldm_bonehead in a place where it will not get owned by -O3.

15 years agotests/Makefile: Add CFLAGS for LOL2FAST2FURIOUS.
Joshua Wise [Sun, 18 Jan 2009 09:19:11 +0000 (04:19 -0500)]
tests/Makefile: Add CFLAGS for LOL2FAST2FURIOUS.

15 years agoMemory: Change offset latch in LDM so that there is no flutter if DCache cannot get...
Joshua Wise [Sun, 18 Jan 2009 09:18:45 +0000 (04:18 -0500)]
Memory: Change offset latch in LDM so that there is no flutter if DCache cannot get the bus or tries to write to an address that has latency.

15 years agotests/testbench: Update output formatting for testbench.
Joshua Wise [Sat, 17 Jan 2009 11:15:01 +0000 (06:15 -0500)]
tests/testbench: Update output formatting for testbench.

15 years agoDCache/ICache: Invalidate while filling, so if the fill is aborted, then at least...
Joshua Wise [Sat, 17 Jan 2009 11:09:41 +0000 (06:09 -0500)]
DCache/ICache: Invalidate while filling, so if the fill is aborted, then at least we do not return bad data later.  8 hour debug session; 1 line fix.

15 years agotests/testbench: Allow compilation on x86.
Joshua Wise [Thu, 15 Jan 2009 08:35:37 +0000 (03:35 -0500)]
tests/testbench: Allow compilation on x86.

15 years agoDCache: Be more verbose about fills.
Joshua Wise [Thu, 15 Jan 2009 07:44:48 +0000 (02:44 -0500)]
DCache: Be more verbose about fills.

15 years agoBlockRAM: Write before read so that reads the next cycle return the right answer.
Joshua Wise [Thu, 15 Jan 2009 07:44:23 +0000 (02:44 -0500)]
BlockRAM: Write before read so that reads the next cycle return the right answer.

15 years agoExecute: fix rdiff
Joshua Wise [Thu, 15 Jan 2009 06:37:52 +0000 (01:37 -0500)]
Execute: fix rdiff

15 years agoMemory: Add delayed flush. Make outbubble correct by moving it to the end (sadface...
Joshua Wise [Wed, 14 Jan 2009 07:22:48 +0000 (02:22 -0500)]
Memory: Add delayed flush.  Make outbubble correct by moving it to the end (sadface).  Correct behavior in ldmstm if it has to rw_wait.  Make ldmstm more verbose.

15 years agoExecute: Fix outbubble on multiplier so that it remembers to flush, fixing ldm_bonehe...
Joshua Wise [Wed, 14 Jan 2009 07:20:50 +0000 (02:20 -0500)]
Execute: Fix outbubble on multiplier so that it remembers to flush, fixing ldm_bonehead test.

15 years agoExecute: Add delayed flush logic.
Joshua Wise [Wed, 14 Jan 2009 07:18:35 +0000 (02:18 -0500)]
Execute: Add delayed flush logic.

15 years agoICache and DCache: Do not accept fill data if the bus_ready is actually intended...
Joshua Wise [Wed, 14 Jan 2009 07:14:19 +0000 (02:14 -0500)]
ICache and DCache: Do not accept fill data if the bus_ready is actually intended for someone *else*.

15 years agoIssue: Add logic to defer a flush if need be (i.e., we're stalled at the time and...
Joshua Wise [Wed, 14 Jan 2009 07:13:25 +0000 (02:13 -0500)]
Issue: Add logic to defer a flush if need be (i.e., we're stalled at the time and hence not allowed to change any other state).

15 years agotests/costas: respin .hex
Joshua Wise [Wed, 14 Jan 2009 07:12:26 +0000 (02:12 -0500)]
tests/costas: respin .hex

15 years agotests: Add the new testbench.
Joshua Wise [Wed, 14 Jan 2009 07:10:56 +0000 (02:10 -0500)]
tests: Add the new testbench.

15 years agoanulib: move the stack ALL the way up
Joshua Wise [Wed, 14 Jan 2009 07:10:08 +0000 (02:10 -0500)]
anulib: move the stack ALL the way up

15 years agoFetch: Also queue up a jump if we are stalled.
Joshua Wise [Wed, 14 Jan 2009 05:57:29 +0000 (00:57 -0500)]
Fetch: Also queue up a jump if we are stalled.

15 years agoDCache: Change verbosity.
Joshua Wise [Tue, 13 Jan 2009 08:43:36 +0000 (03:43 -0500)]
DCache: Change verbosity.

15 years agosystem: Swap ICache and DCache in arbiter order.
Joshua Wise [Tue, 13 Jan 2009 08:40:57 +0000 (03:40 -0500)]
system: Swap ICache and DCache in arbiter order.

15 years agoanulib: Move the stack up.
Joshua Wise [Tue, 13 Jan 2009 08:40:33 +0000 (03:40 -0500)]
anulib: Move the stack up.

15 years agoCostas: Remove while(1) and allow proper returns.
Joshua Wise [Sun, 11 Jan 2009 05:27:56 +0000 (00:27 -0500)]
Costas: Remove while(1) and allow proper returns.

15 years agoMemory: Instrument LDMSTM. Do not write back if writeback not requested. Comment...
Joshua Wise [Sun, 11 Jan 2009 05:27:25 +0000 (00:27 -0500)]
Memory: Instrument LDMSTM.  Do not write back if writeback not requested.  Comment some magic bits.  Fix swapped cur_reg conditional.  Add pc save.

15 years agoDCache: Add instrumentation.
Joshua Wise [Sun, 11 Jan 2009 05:21:32 +0000 (00:21 -0500)]
DCache: Add instrumentation.

15 years agoMemory: Fix FSM for LDR/STR. Fix pre/post increment to be, uh, pre/post increment...
Joshua Wise [Sun, 11 Jan 2009 04:41:07 +0000 (23:41 -0500)]
Memory: Fix FSM for LDR/STR.  Fix pre/post increment to be, uh, pre/post increment, not post/pre increment.

15 years agoDecode: Fix conditional for immediate mode.
Joshua Wise [Sat, 10 Jan 2009 09:53:40 +0000 (04:53 -0500)]
Decode: Fix conditional for immediate mode.

15 years agosystem: Fix message printed by DECODE debug line to have a zero base for op numbers.
Joshua Wise [Sat, 10 Jan 2009 09:49:10 +0000 (04:49 -0500)]
system: Fix message printed by DECODE debug line to have a zero base for op numbers.

15 years agoEnable part 2 of the Costas test program.
Joshua Wise [Sat, 10 Jan 2009 09:35:53 +0000 (04:35 -0500)]
Enable part 2 of the Costas test program.

15 years agoAdd tests directory.
Joshua Wise [Sat, 10 Jan 2009 09:11:45 +0000 (04:11 -0500)]
Add tests directory.

15 years agoDCache, ICache: Reset fill circuitry if a request is aborted while filling.
Joshua Wise [Sat, 10 Jan 2009 09:07:51 +0000 (04:07 -0500)]
DCache, ICache: Reset fill circuitry if a request is aborted while filling.

15 years agoFetch: qjmp is for queueing up jumps while rd_waiting, not while stalled.
Joshua Wise [Sat, 10 Jan 2009 09:04:58 +0000 (04:04 -0500)]
Fetch: qjmp is for queueing up jumps while rd_waiting, not while stalled.

15 years agosystem: Print the correct values for jmp for Execute.
Joshua Wise [Sat, 10 Jan 2009 09:01:13 +0000 (04:01 -0500)]
system: Print the correct values for jmp for Execute.

15 years agoDCache: Fix silly bug involving failing to clear bus_wr.
Joshua Wise [Sat, 10 Jan 2009 08:48:06 +0000 (03:48 -0500)]
DCache: Fix silly bug involving failing to clear bus_wr.

15 years agoFetch: Rewrite to be cleaner.
Joshua Wise [Sat, 10 Jan 2009 08:26:03 +0000 (03:26 -0500)]
Fetch: Rewrite to be cleaner.

15 years agoTerminal: Add `ifdef verilator around the $c construct.
Joshua Wise [Sat, 10 Jan 2009 05:54:59 +0000 (00:54 -0500)]
Terminal: Add `ifdef verilator around the $c construct.

15 years agosystem: Fix bug that would cause stmia not to work.
Joshua Wise [Sat, 10 Jan 2009 05:53:52 +0000 (00:53 -0500)]
system: Fix bug that would cause stmia not to work.

15 years agoMemory: wire -> reg in some cases
Joshua Wise [Sat, 10 Jan 2009 05:51:00 +0000 (00:51 -0500)]
Memory: wire -> reg in some cases

15 years agoICache: Add instrumentation.
Joshua Wise [Sat, 10 Jan 2009 05:50:06 +0000 (00:50 -0500)]
ICache: Add instrumentation.

15 years agoExecute: Fix jumps while flush asserted. Set lr correctly in bl.
Joshua Wise [Sat, 10 Jan 2009 04:36:15 +0000 (23:36 -0500)]
Execute: Fix jumps while flush asserted.  Set lr correctly in bl.

15 years agoMerge branch 'master' of nyus.joshuawise.com:/git/firearm
Christopher Lu [Sat, 10 Jan 2009 03:18:37 +0000 (22:18 -0500)]
Merge branch 'master' of nyus.joshuawise.com:/git/firearm

15 years agounique values for the shits
Christopher Lu [Sat, 10 Jan 2009 03:18:33 +0000 (22:18 -0500)]
unique values for the shits

15 years agoram: Add a string printing test, WHICH WORKS!
Joshua Wise [Fri, 9 Jan 2009 09:25:56 +0000 (04:25 -0500)]
ram: Add a string printing test, WHICH WORKS!

This page took 0.056234 seconds and 4 git commands to generate.