1
0
mirror of https://github.com/j-core/j-core-ice40.git synced 2026-01-11 23:52:49 +00:00

58 Commits

Author SHA1 Message Date
Rob Landley
fe265519e2 Add some comments. 2019-12-07 22:22:19 -06:00
Rob Landley
7508f960ce Remove some files not used in this SoC from the analysis stage. 2019-12-07 22:20:16 -06:00
Rob Landley
11c1ba7c5a Separate out predecoder. (Mostly Jeff's work.) 2019-11-15 02:21:29 -06:00
Rob Landley
c4ac0a6e0e Shuffle types around more logically, add comments, split pkg/body builds. 2019-11-15 01:41:16 -06:00
Rob Landley
25a45b1c3c Move datapath_reg_t to datapath_pkg instead of components_pkg. 2019-11-15 00:44:16 -06:00
Rob Landley
4bd610bde9 Add some comments, and don't make "how many bits in a 32 bit cpu" a define. 2019-11-15 00:36:47 -06:00
Rob Landley
9403c12f9d Rename things to avoid "hides" warnings. 2019-11-12 06:16:14 -06:00
Rob Landley
60e396e96f Remove more warnings (name conflicts within overlapping scope). 2019-11-12 05:45:30 -06:00
Rob Landley
0f95035660 Remove one warning, re-wordwrap, add comment with paper behind shifter. 2019-11-12 04:46:53 -06:00
Rob Landley
0340edd4d2 Add comments and progress output to build script, cut simulation timeout
in half (ROM finishes in 0.7ms, don't need 2ms run).
2019-11-11 05:40:40 -06:00
Rob Landley
429b6fa326 Add a README. 2019-11-11 05:25:45 -06:00
Rob Landley
c7cf985e9b Whitespace: Redo indentation and tweak comments slightly. 2019-11-10 21:01:26 -06:00
Rob Landley
d053118e47 Put rn and rm in variables. 2019-11-10 01:41:52 -06:00
Rob Landley
986651bd71 Comment out more default values, and switch defaults to most common entry. 2019-11-09 08:58:20 -06:00
Rob Landley
253119d8b3 Comment out lines redundantly setting signals to their default value.
(This representation started life as generated code. It's the most
software-like version, which makes it tractable to software devs like me,
and thus the format I'm using to find common patterns. But it also has
low-hanging-fruit cleanup, some of which the optimizer's already finding.)
2019-11-09 02:44:44 -06:00
Rob Landley
662a203727 Change run script to work with ghdl mcode instead of llvm backend,
add comment about the difference.
2019-11-04 18:13:43 -06:00
JnR
4caf1245aa MOVA, (aka LEA) collapsed 2019-09-27 18:14:15 -04:00
JnR
74b84b6bff more MOV instructions collapsed 2019-09-27 17:02:58 -04:00
J
f16479b668 some more instruction colation 2019-09-26 21:15:44 -04:00
JnRnJ
4b3f730f84 pre classify fcn. begin to refactor decode 2019-09-26 16:24:03 -04:00
JnR
ff3e286289 Start to simplify the staircase decoder 2019-09-25 22:19:31 -04:00
Rob Landley
7eb65c56eb The control registers moved in the register file a while back and no longer
need an extra wait state to access, so make STC.L work like STS.L.
2019-09-23 18:19:24 -05:00
J
e661848e58 Change back to complete ROM tests. NOTE: may overflow FPGA 2019-09-22 23:06:25 -04:00
J
1fd2181c34 Add the staircase decoder version back in 2019-09-22 18:43:43 -04:00
J
23c9b785f2 Clean up data and instruction bus, and decoders. Hand hacked, should be auto gen 2019-04-02 22:23:49 -04:00
J
3ca89bdbd0 Remove hack to work around incomplete pipeline reset due to Lattice tools, fixed by reset generator 2019-04-02 21:11:55 -04:00
J
d28a771f6d Add reset generator to work around Lattice ignoring reset values. Fixes ROM decoder, reduce logic size by 8.5% 2019-04-02 17:52:39 -04:00
J
53246c4690 Bring over ROM decoder version. Sim is correct, synth is 10% smaller doesn't boot. This CPU corresponds ~rev 745:b529b2d1c276 of SEI internal repos soc_top/components/cpu 2019-04-02 16:18:02 -04:00
J
5825a157cf Cosmetic... print key names. RAM full, use rev 28 for block ram checking instead 2019-04-01 17:45:50 -04:00
J
6acf3a811c All keys work. First 'scan' algorithm. Precharge timing needs tuning 2019-03-31 02:10:36 -04:00
J
e14eca18c0 CPU comes up. Lattice SPR works. LCD works. 2019-03-30 17:21:02 -04:00
J
07025535a6 merge 2019-03-30 00:14:00 -04:00
J
cc164bb8b6 Link order matters? Yes, yes it does... 2019-03-30 00:12:12 -04:00
J
3ec7c27f36 Continue simple cleanups of pinouts and platform split. Still doesn't work, though 2019-03-27 21:04:53 -04:00
J
4d896e726c Minor change to pinouts for v1.1 board 2019-03-26 12:05:44 -04:00
J
d21f78598e With Lattice SPR memory, and memory test. Doesn't synth correctly, sim is correct. 2019-03-25 21:50:49 -04:00
J
520a01319c Free42 / up5k top level sim driver script 2019-03-19 16:45:37 -04:00
J
f7ad4be38a Finish Free42 pinout. First synth with all pins. Seems to break LCD? 2019-03-19 16:44:01 -04:00
J
bcd796f196 Add pinout constraints for 42s 2019-03-18 17:41:13 -04:00
J
07afa61fa1 Drives LCD with ASCII renderer. Split main.c off for 42s 2019-03-18 17:39:56 -04:00
J
2246a52244 Work around strange %pr bug in entry.c. Finally runs to C code 2019-03-17 17:03:19 -04:00
J
d6d809c516 Attempt to avoid write conflict on Lattice EB RAM 2019-03-15 16:46:15 -04:00
J
beada4032f Add simulation stuff for register file 2019-03-14 22:56:02 -04:00
J
2f0f7d2797 A few warnings fixed 2019-03-13 19:40:04 -04:00
J
c611736bad Sync RAM register file implemntation 2019-03-13 17:05:56 -04:00
J
fb8fdd41c7 move back to ghdl because nvc can't trace records yet, even though it simulates them 2019-03-12 22:42:41 -04:00
J
93d011ba48 Add sim by default and wave viewer ctl file for reg file debug 2019-03-08 01:37:20 -05:00
J
d94eb15232 Actually add sim model for Lattice HF clk 2019-03-08 01:10:20 -05:00
J
dfd7c38c98 Change from UP5k EVB to updino v2.0. Add sim model for Lattice HF clk 2019-03-08 01:09:52 -05:00
J
480c4cefe0 Pin mapping for EVB 2019-03-05 22:55:59 -05:00