Skip to content

With the following change now creates a log of the Synthesis & Place … #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

develone
Copy link

…and Route

in the files yosys-uart.log & nextpnr-uart.log

devel@pi4-50:~/tangnano9k-series-examples $ git diff diff --git a/uart/Makefile b/uart/Makefile
index fa9ae97..2a28e46 100644
--- a/uart/Makefile
+++ b/uart/Makefile
@@ -6,11 +6,11 @@ all: uart.fs

Synthesis

uart.json: uart.v

  •   yosys -p "read_verilog uart.v; synth_gowin -top uart -json uart.json"
    
  •   yosys -l yosys-uart.log -p "read_verilog uart.v; synth_gowin -top uart -json uart.json"
    

Place and Route

uart_pnr.json: uart.json

  •   nextpnr-gowin --json uart.json --write uart_pnr.json --freq 27 --device ${DEVICE} --family ${FAMILY} --cst ${BOARD}.cst
    
  •   nextpnr-gowin -l nextpnr-uart.log --json uart.json --write uart_pnr.json --freq 27 --device ${DEVICE} --family ${FAMILY} --cst ${BOARD}.cst
    

Generate Bitstream

uart.fs: uart_pnr.json

…and Route

in the files yosys-uart.log & nextpnr-uart.log

devel@pi4-50:~/tangnano9k-series-examples $ git diff
diff --git a/uart/Makefile b/uart/Makefile
index fa9ae97..2a28e46 100644
--- a/uart/Makefile
+++ b/uart/Makefile
@@ -6,11 +6,11 @@ all: uart.fs

 # Synthesis
 uart.json: uart.v
-       yosys -p "read_verilog uart.v; synth_gowin -top uart -json uart.json"
+       yosys -l yosys-uart.log -p "read_verilog uart.v; synth_gowin -top uart -json uart.json"

 # Place and Route
 uart_pnr.json: uart.json
-       nextpnr-gowin --json uart.json --write uart_pnr.json --freq 27 --device ${DEVICE} --family ${FAMILY} --cst ${BOARD}.cst
+       nextpnr-gowin -l nextpnr-uart.log --json uart.json --write uart_pnr.json --freq 27 --device ${DEVICE} --family ${FAMILY} --cst ${BOARD}.cst

 # Generate Bitstream
 uart.fs: uart_pnr.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant