Skip to content
Discussion options

You must be logged in to vote

I think you already have it. There's just no slang.so anymore.

From Yosys 0.67 on, slang is built into Yosys itself instead of being a plugin. ORFS's own synth script says so and calls read_slang without loading anything (synth_preamble.tcl#L97-L98):

# read_slang is built into Yosys (>=0.67); no plugin load needed.

Your build is 0.68, so -m slang fails only because it looks for a plugin file that doesn't exist. Try it without the -m:

yosys -p "help read_slang"

If that prints the help, you're good. For the flow itself, just set SYNTH_HDL_FRONTEND=slang in your design config (FlowVariables), and SYNTH_SLANG_ARGS if you need extra flags.

The yosys -m slang -p "slang_version" line in the ins…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@abozaralizadeh
Comment options

Answer selected by MoonbaseOtago
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants