And, Verilog (in particular) impedes code reuse as well by having a flat namespace for modules. E.g., if Olof writes a module queue, and >>
-
-
Replying to @SamuelAFalvoII @ico_TC and
>> I write a module queue, then I cannot use both in the same design. I *must* tweak Olof's code or my code to rename modules. Frustrating!
1 reply 1 retweet 2 likes -
Replying to @SamuelAFalvoII @ico_TC and
Flat namespaces is one of the things I dislike most about verilog, but C has a similar problem, and they usually handle it with prefixes
1 reply 1 retweet 1 like -
Replying to @OlofKindgren @SamuelAFalvoII and
Most commercial tools have ways to handle the flat namespace problem and I also have a Yosys feature in the pipeline to deal with that.
2 replies 1 retweet 2 likes -
Replying to @oe1cxw @SamuelAFalvoII and
Not verilog config statements I hope. That's one of the most confusing things I've seen :)
1 reply 0 retweets 0 likes -
Replying to @OlofKindgren @SamuelAFalvoII and
No. Nobody is using those..
2 replies 0 retweets 1 like -
Replying to @oe1cxw @OlofKindgren and
I'll essentially do what everyone else does: structure the design in a hierarchy of workspaces and only make the top module of each ..
1 reply 1 retweet 2 likes -
Replying to @oe1cxw @OlofKindgren and
.. workspace visible to the workspace one level up in the hierarchy. In the end it's just glorified auto-renaming of modules.
2 replies 1 retweet 3 likes -
Replying to @oe1cxw @SamuelAFalvoII and
E.g. how to specify the library/workspace and how to mark a module as public/private
1 reply 0 retweets 0 likes -
Replying to @OlofKindgren @SamuelAFalvoII and
Yosys already supports different workspaces (see "help design"). The new feature will just allow you to copy everything from one design ...
1 reply 1 retweet 1 like
... to another and automatically rename every module except the top module, and remove the top flag from the imported module.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.