1
0
mirror of https://github.com/antonblanchard/chiselwatt.git synced 2026-01-27 20:48:14 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Anton Blanchard
e770a35a0e Rework load/store to improve timing
By moving the load from the second cycle into the first cycle we improve
timing overall.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-06 21:36:50 +11:00
Anton Blanchard
4dc5f030e0 Improve memory read timing by removing readData signals
There's no need to gate reads.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-05 12:06:17 +11:00
Anton Blanchard
be6e0cae22 Fix some timing issues in writeback
Break the writeback mux into two chunks so that all units that have RC
instructions mux into an intermediate signal wrRcData. This gets fed into
the compare logic.

Compare instructions are all fed through the Adder, so use the adder
output instead of the writeback mux.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-04 08:00:42 +11:00
Anton Blanchard
fb60b534b2 Temporary reset fix
We need to clean up the nia/fetch handling, but avoid the situation
where we come out of reset right around the time completed goes high.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-03 13:00:17 +11:00
Anton Blanchard
63ed617cb6 Remove SystemVerilog syntax
Lattice Diamond doesn't seem to support SystemVerilog which is a bit
depressing. We only use the syntax in a few places, so fix that up.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-01-31 02:49:26 +11:00
Anton Blanchard
1aeb5dad28 Remove an unused bit from the Divider
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-01-30 18:23:01 +11:00
Anton Blanchard
08ca3da14e Remove some old tests
These modules aren't used any more.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-01-30 18:11:46 +11:00
Anton Blanchard
f138ab7c7c Initial import 2020-01-30 05:20:07 +11:00