Commit Graph

49 Commits

Author SHA1 Message Date
Arthur Lu
6b75e46484
Create README.md 2023-01-26 01:06:41 -08:00
Arthur Lu
4b909d48dd add program machine code as parameter to ROM and top_level,
change output of example assembler scripts,
update testbenches for programs 1 2 3 to use overloadable parameter,
formatted program3_tb
2022-08-30 19:10:38 -07:00
Arthur Lu
155d18721f fix minor bug in first non preamble char parity check 2022-08-28 22:23:07 +00:00
Arthur Lu
90c683d1da update program3 with new testbench spec 2022-08-28 00:13:43 +00:00
Arthur Lu
e5684b4705 fix naming 2022-08-27 16:33:33 -07:00
Arthur Lu
9281b984ae update program3_tb.sv 2022-08-27 16:30:47 -07:00
Arthur Lu
58c8f2e7cb move cpu flags into Flags module 2022-08-25 21:02:47 -07:00
Arthur Lu
d27def5296 fix testbench RNG for preamble length 2022-08-20 23:27:22 -07:00
Arthur Lu
770f6eb8cc consolidate encoding types 2022-08-20 12:50:06 -07:00
Arthur Lu
8e6962ad4d combine PTY and CHK instruction,
recode remaining operands
2022-08-20 01:23:00 -07:00
Arthur Lu
218445e20c remove ORR instruction 2022-08-20 00:33:07 -07:00
Arthur Lu
ca7bf9fc6e remove SUB instruction from ISA,
update program2 and program3,
update control logic,
update assembler
2022-08-19 23:34:51 -07:00
Arthur Lu
f31ac21f65 implement ADD and SUB using CLA 2022-08-19 23:25:31 -07:00
Arthur Lu
434032f4ba fix control complexity 2022-08-19 23:16:33 -07:00
Arthur Lu
17b1b5f923 reduction of ALU complexity by removing INC and DEC 2022-08-19 22:44:47 -07:00
Arthur Lu
5d0f764ff5 used block RAM for data memory 2022-08-19 22:34:50 -07:00
Arthur Lu
c7b5b8b63c fix warning casez had no default 2022-08-19 21:16:03 -07:00
Arthur Lu
cba9ede657 make tqdm optional,
localize .gitignore files
2022-08-20 03:40:35 +00:00
Arthur Lu
550a72588d fix program3_tb formatting 2022-08-19 20:24:19 -07:00
Arthur Lu
dd4f8ef9f8 fix program 3 to have correct error detection,
added duplicate label syntax error check in assembler
2022-08-20 03:14:36 +00:00
Arthur Lu
9254063e3e fix program 3 to paritally working,
add program3_tb,
fix testbench random selection
2022-08-20 02:50:14 +00:00
Arthur Lu
2d17abe39e remove redundant CLB command,
update program3 using fixes from program2
2022-08-18 03:41:07 +00:00
Arthur Lu
36e5abab60 fix testbench formatting 2022-08-18 02:08:55 +00:00
Arthur Lu
570bd3698a fix program2 2022-08-17 19:01:43 -07:00
Arthur Lu
9a8c9a3771 add program2 testbench 2022-08-17 18:01:09 -07:00
Arthur Lu
7344df39d8 create example assembler scripts for individual programs 2022-08-17 00:37:56 -07:00
Arthur Lu
4e462c5010 reformat program1_tb 2022-08-15 10:48:23 -07:00
Arthur Lu
ffa7e13954 fix file headers 2022-08-14 16:05:44 -07:00
Arthur Lu
935864ad9c fix bug in PC jump target calculation,
fix bug in RegFile input width,
fix control logic bug with INC/DEC,
change assembler output format,
change programs to use d0 as space char value
2022-08-14 13:44:51 -07:00
Arthur Lu
0dbd5dbbea fixed bugs in synthesis 2022-08-13 18:54:10 -07:00
Arthur Lu
3c77111bfd made top_level submodule naming more verbose 2022-08-13 18:15:45 -07:00
Arthur Lu
98fbdc5546 populate top_level.sv 2022-08-13 18:06:19 -07:00
Arthur Lu
ee08d3505c fix RegFile with correct done and start logic 2022-08-13 17:42:57 -07:00
Arthur Lu
2839184903 fix compile errors 2022-08-13 17:38:45 -07:00
Arthur Lu
ed6fd943a6 implement control comb logic (untested) 2022-08-13 17:37:13 -07:00
Arthur Lu
2f967bef04 push last commit 2022-08-13 16:36:00 -07:00
Arthur Lu
a659abea2a add new instruction support :DNE,
move devcontainer to firmware folder,
implement RTL ALU PC RegFile,
2022-08-13 23:34:46 +00:00
Arthur Lu
be156765f3 populate better starting rtl code 2022-08-13 15:34:01 -07:00
Arthur Lu
31b077c5f2 add provided RTL models 2022-08-11 22:01:28 -07:00
Arthur Lu
652ecf2686 move firmware files into dedicated folder 2022-08-11 21:44:18 -07:00
Arthur Lu
4dd7faf066 add example shell file to compile cse141L programs,
add xxd to development container
2022-08-10 06:05:07 +00:00
Arthur Lu
78b38b573d remove more comments from assembler,
added multiprogram assembly functionality,
added proper next program logic to programs
2022-08-10 06:01:47 +00:00
Arthur Lu
1a44a5be80 remove commented code in assembler 2022-08-10 05:45:28 +00:00
Arthur Lu
5d8ea74edc differentiate numerical imm and label imm,
implement assembler,
add binary file outputs to gitignore,
add development container for assembler
2022-08-10 05:44:32 +00:00
Arthur Lu
216d118967 implement program3,
fix indentation in program2
2022-08-09 20:30:44 -07:00
Arthur Lu
9e6e490673 implement program2,
fix formatting in program1
2022-08-09 20:11:49 -07:00
Arthur Lu
1c8fcec85b fix bug (first char XOR with initial state) 2022-08-08 22:21:03 -07:00
Arthur Lu
f3bcd0e772 fix spelling in comments 2022-08-07 16:22:59 -07:00
Arthur Lu
b79a2973ea
add program1.asm 2022-08-07 16:18:56 -07:00