File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: "Synthesis and Results"
22
33on :
44 push :
5- branches : ["main"]
5+ branches : [ "main" ]
66 pull_request :
7- branches : ["main"]
7+ branches : [ "main" ]
88
99jobs :
1010 synth-and-publish :
@@ -186,6 +186,7 @@ jobs:
186186 run : |
187187 mkdir -p artifacts
188188 cp -r out/results artifacts/
189+ cp -r out/verilog artifacts/
189190 # Copy netlists from out/synth
190191 find out/synth -name "*.v" -exec cp {} artifacts/ \;
191192 # Copy any verilog from generated/ if needed
Original file line number Diff line number Diff line change @@ -34,17 +34,11 @@ clean:
3434 find . -type f -name " *.synctex.gz" -delete
3535 find . -type f -name " *.pdf" -delete
3636
37- # Generate verilog from the Chisel code
3837# Generate verilog from the Chisel code
3938verilog :
4039 @echo Generating Verilog...
41- @mkdir -p generated
42- @$(SBT ) " runMain tech.rocksavage.Main verilog --mode print --module tech.rocksavage.chiselware.uart.Uart --config-class tech.rocksavage.chiselware.uart.UartConfig" | awk ' /^\/\/ Generated by CIRCT/,0' > generated/combined_uart.v
43- @echo " Extracting individual modules..."
44- @cd generated && python3 $(shell pwd) /scripts/split_verilog.py combined_uart.v
45- @echo " Verilog files generated successfully!"
46- @ls -l generated/* .v | wc -l | xargs -I{} echo " Total modules generated: {}"
47-
40+ @$(SBT ) " runMain tech.rocksavage.Main verilog --mode write --module tech.rocksavage.chiselware.uart.Uart --config-class tech.rocksavage.chiselware.uart.UartConfig"
41+
4842# Run the tests
4943test :
5044 @echo Running tests...
You can’t perform that action at this time.
0 commit comments