-
Notifications
You must be signed in to change notification settings - Fork 31
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
[WIP] Implement a VHDL backend #122
base: master
Are you sure you want to change the base?
Commits on May 21, 2020
-
Copy the verilog backend as vhdl_backend.cc
Now need to start the actual conversion of syntax
Configuration menu - View commit details
-
Copy full SHA for e8f73b6 - Browse repository at this point
Copy the full SHA e8f73b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bca471 - Browse repository at this point
Copy the full SHA 0bca471View commit details
Commits on May 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6bedabe - Browse repository at this point
Copy the full SHA 6bedabeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7346b71 - Browse repository at this point
Copy the full SHA 7346b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac43d36 - Browse repository at this point
Copy the full SHA ac43d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b08be4 - Browse repository at this point
Copy the full SHA 7b08be4View commit details
Commits on May 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1c8e4cc - Browse repository at this point
Copy the full SHA 1c8e4ccView commit details -
Mark dump_attributes as PORTING REQUIRED again
More nontrivial design decisions need to be made before I actually write the code for this
Configuration menu - View commit details
-
Copy full SHA for 004a03e - Browse repository at this point
Copy the full SHA 004a03eView commit details -
Implement dump_constant and remove decimal option
Completely removing decimal functionality may come back to bite me later...I'll see
Configuration menu - View commit details
-
Copy full SHA for 698fa75 - Browse repository at this point
Copy the full SHA 698fa75View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e4c1c - Browse repository at this point
Copy the full SHA a4e4c1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b618c - Browse repository at this point
Copy the full SHA 14b618cView commit details
Commits on May 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cac7e92 - Browse repository at this point
Copy the full SHA cac7e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c0fdd - Browse repository at this point
Copy the full SHA a6c0fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe06c7 - Browse repository at this point
Copy the full SHA 3fe06c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f56439 - Browse repository at this point
Copy the full SHA 4f56439View commit details
Commits on May 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d128c86 - Browse repository at this point
Copy the full SHA d128c86View commit details -
Port dump_cell_expr_uniop and dump_cell_expr_binop
dump_cell_expr_binop may need adjustments because of STD_LOGIC_VECTOR vs UNSIGNED/SIGNED
Configuration menu - View commit details
-
Copy full SHA for 6e1b43d - Browse repository at this point
Copy the full SHA 6e1b43dView commit details -
Replace $signed with signed in dump_cell_expr_port
I am not marking this as done until I better understand the context in which this function is called
Configuration menu - View commit details
-
Copy full SHA for 826226b - Browse repository at this point
Copy the full SHA 826226bView commit details
Commits on May 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 29c63ab - Browse repository at this point
Copy the full SHA 29c63abView commit details
Commits on May 30, 2020
-
Port syntax gen of is_reg_wire
TODO: do reg/wire distinctions make sense for a VHDL backend?
Configuration menu - View commit details
-
Copy full SHA for 9e1f859 - Browse repository at this point
Copy the full SHA 9e1f859View commit details
Commits on May 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ee90888 - Browse repository at this point
Copy the full SHA ee90888View commit details
Commits on Jun 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5b7c9e6 - Browse repository at this point
Copy the full SHA 5b7c9e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad6896 - Browse repository at this point
Copy the full SHA dad6896View commit details -
Initial pass of porting dump_cell_expr
Items labelled unported have not been changed yet, and everything else is subject to change
Configuration menu - View commit details
-
Copy full SHA for ee5c01c - Browse repository at this point
Copy the full SHA ee5c01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3e271f - Browse repository at this point
Copy the full SHA b3e271fView commit details
Commits on Jun 5, 2020
-
Adjustments to autogenerated IDs to ensure numbered internal signals …
…are valid VHDL identifiers
Configuration menu - View commit details
-
Copy full SHA for 38472f6 - Browse repository at this point
Copy the full SHA 38472f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7103321 - Browse repository at this point
Copy the full SHA 7103321View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81989ce - Browse repository at this point
Copy the full SHA 81989ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e8b878 - Browse repository at this point
Copy the full SHA 6e8b878View commit details -
Configuration menu - View commit details
-
Copy full SHA for a14cf54 - Browse repository at this point
Copy the full SHA a14cf54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f79c7d - Browse repository at this point
Copy the full SHA 9f79c7dView commit details -
Initial port of module dumping
At this point the backend should produce valid VHDL for a subset of RTLIL netlists Finishing the port of dump_cell_expr and other functions will take time
Configuration menu - View commit details
-
Copy full SHA for 402c7f9 - Browse repository at this point
Copy the full SHA 402c7f9View commit details -
Port bit selection of cellname
Other changes may be needed relating to invalid VHDL identifier characters
Configuration menu - View commit details
-
Copy full SHA for 46626fd - Browse repository at this point
Copy the full SHA 46626fdView commit details
Commits on Jun 6, 2020
-
Write function to get a sensitivity set given SigSpecs
This should be used to create sensitivity lists whenever creating processes
Configuration menu - View commit details
-
Copy full SHA for 014f000 - Browse repository at this point
Copy the full SHA 014f000View commit details -
Address Xiretza's review comment
The Verilog backend assumes that port_ids>=1 when valid, however...
Configuration menu - View commit details
-
Copy full SHA for 9c31e5b - Browse repository at this point
Copy the full SHA 9c31e5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de3d2b - Browse repository at this point
Copy the full SHA 7de3d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 474302b - Browse repository at this point
Copy the full SHA 474302bView commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for af3a5b7 - Browse repository at this point
Copy the full SHA af3a5b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c31fc4a - Browse repository at this point
Copy the full SHA c31fc4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78cc811 - Browse repository at this point
Copy the full SHA 78cc811View commit details -
Testing in progress, as well as handling 'X' constants
Configuration menu - View commit details
-
Copy full SHA for 83c2768 - Browse repository at this point
Copy the full SHA 83c2768View commit details -
Fix $pmux dump to use onehot strings instead of aggregates
This is valid VHDL-93 as well (besides of the aggregates breaking GHDL)
Configuration menu - View commit details
-
Copy full SHA for 8529d14 - Browse repository at this point
Copy the full SHA 8529d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c10fc - Browse repository at this point
Copy the full SHA d7c10fcView commit details
Commits on Jun 9, 2020
-
TODOs in code below, especially with $lt and related
Configuration menu - View commit details
-
Copy full SHA for 3865d76 - Browse repository at this point
Copy the full SHA 3865d76View commit details
Commits on Jun 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a5e59d0 - Browse repository at this point
Copy the full SHA a5e59d0View commit details -
For hex consts, push '0's and include width when needed
Old stuff copied from Verilog did not follow VHDL spec Unfortunately all-unknown constants like 5x"ZZ" are invalid...
Configuration menu - View commit details
-
Copy full SHA for 9cff95b - Browse repository at this point
Copy the full SHA 9cff95bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5bbc7 - Browse repository at this point
Copy the full SHA ad5bbc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6920990 - Browse repository at this point
Copy the full SHA 6920990View commit details -
Configuration menu - View commit details
-
Copy full SHA for e30fb17 - Browse repository at this point
Copy the full SHA e30fb17View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff18f66 - Browse repository at this point
Copy the full SHA ff18f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a76111 - Browse repository at this point
Copy the full SHA 9a76111View commit details
Commits on Jul 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e2259fb - Browse repository at this point
Copy the full SHA e2259fbView commit details
Commits on Aug 2, 2020
-
Part 1 of porting new FF changes
See YosysHQ/yosys@8fd4351 Still need to write the actual new FF code generation
Configuration menu - View commit details
-
Copy full SHA for 6118676 - Browse repository at this point
Copy the full SHA 6118676View commit details -
Configuration menu - View commit details
-
Copy full SHA for 157e8b3 - Browse repository at this point
Copy the full SHA 157e8b3View commit details
Commits on Aug 5, 2020
-
Make memory_array_types a regular (sorted) set
It will usually be too small to reap the benefits of an amortized hashing implementation of a map
Configuration menu - View commit details
-
Copy full SHA for 6738129 - Browse repository at this point
Copy the full SHA 6738129View commit details
Commits on Aug 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1f9b1b6 - Browse repository at this point
Copy the full SHA 1f9b1b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2575f2 - Browse repository at this point
Copy the full SHA f2575f2View commit details
Commits on Aug 9, 2020
-
Dump $assert cells as regular VHDL assert
See comment on ghdl/ghdl#1427
Configuration menu - View commit details
-
Copy full SHA for 6e90b3d - Browse repository at this point
Copy the full SHA 6e90b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 890084e - Browse repository at this point
Copy the full SHA 890084eView commit details
Commits on Aug 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f9cd3a - Browse repository at this point
Copy the full SHA 3f9cd3aView commit details -
Copy over new dumping code and port clocked FF portions of it
TODO: dump latches (besides of sensitivity list which was ported here)
Configuration menu - View commit details
-
Copy full SHA for 0d23d58 - Browse repository at this point
Copy the full SHA 0d23d58View commit details
Commits on Aug 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 98507ff - Browse repository at this point
Copy the full SHA 98507ffView commit details
Commits on Aug 14, 2020
-
Port latch generation code as well
This still needs testing, especially since opt_dff does not do latch transforms (yet)
Configuration menu - View commit details
-
Copy full SHA for a319f1a - Browse repository at this point
Copy the full SHA a319f1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef2aea4 - Browse repository at this point
Copy the full SHA ef2aea4View commit details
Commits on Sep 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 793e1ab - Browse repository at this point
Copy the full SHA 793e1abView commit details
Commits on Sep 26, 2020
-
Code for dumping modules still needs to be ported
Configuration menu - View commit details
-
Copy full SHA for f6a24ef - Browse repository at this point
Copy the full SHA f6a24efView commit details -
Configuration menu - View commit details
-
Copy full SHA for f844b44 - Browse repository at this point
Copy the full SHA f844b44View commit details
Commits on Oct 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cf1341f - Browse repository at this point
Copy the full SHA cf1341fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e2dd13 - Browse repository at this point
Copy the full SHA 1e2dd13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cd293d - Browse repository at this point
Copy the full SHA 1cd293dView commit details -
reduce_(and|or|bool|xn?or) should work perfectly fine now, but s?sh(l|r) is probably still broken
Configuration menu - View commit details
-
Copy full SHA for e014176 - Browse repository at this point
Copy the full SHA e014176View commit details
Commits on Oct 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 95e3d1d - Browse repository at this point
Copy the full SHA 95e3d1dView commit details -
Replace "unclocked assertions" warning with "unclocked directives"
This is more accurate, especially since $assert is normal assert now
Configuration menu - View commit details
-
Copy full SHA for 3b039c3 - Browse repository at this point
Copy the full SHA 3b039c3View commit details
Commits on Nov 2, 2020
-
Rename dump_memory to dump_memory_types
Prepare to bring in new refactoring of memory dumping from Verilog backend
Configuration menu - View commit details
-
Copy full SHA for 506cc97 - Browse repository at this point
Copy the full SHA 506cc97View commit details
Commits on Dec 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2f9d312 - Browse repository at this point
Copy the full SHA 2f9d312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f9b1f - Browse repository at this point
Copy the full SHA 61f9b1fView commit details
Commits on Dec 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 626a4c0 - Browse repository at this point
Copy the full SHA 626a4c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cac3f48 - Browse repository at this point
Copy the full SHA cac3f48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 613f282 - Browse repository at this point
Copy the full SHA 613f282View commit details -
Port over Mem helper changes from Verilog backend
FF sensitivity lists not ported; see code comment for explanation
Configuration menu - View commit details
-
Copy full SHA for 14e9562 - Browse repository at this point
Copy the full SHA 14e9562View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea00e7b - Browse repository at this point
Copy the full SHA ea00e7bView commit details
Commits on Dec 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c25d2ab - Browse repository at this point
Copy the full SHA c25d2abView commit details -
Put parentheses around output of dump_cell_expr_port in case concaten…
…ation happens All uses of dump_cell_expr_port are on the RHS of an expression
Configuration menu - View commit details
-
Copy full SHA for b7967d4 - Browse repository at this point
Copy the full SHA b7967d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc110f - Browse repository at this point
Copy the full SHA fcc110fView commit details -
Propagate LHS concatenation mode to various cell_expr dumps
TODO: concatenation handling may be broken outside of VHDL-2008 mode; handle this later
Configuration menu - View commit details
-
Copy full SHA for 4070425 - Browse repository at this point
Copy the full SHA 4070425View commit details -
Fix mult18x18d component to match yosys verilog
(cherry picked from commit 6671d04)
Configuration menu - View commit details
-
Copy full SHA for 94fec4e - Browse repository at this point
Copy the full SHA 94fec4eView commit details
Commits on Dec 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d7a9032 - Browse repository at this point
Copy the full SHA d7a9032View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff3be34 - Browse repository at this point
Copy the full SHA ff3be34View commit details
Commits on Jan 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e13584c - Browse repository at this point
Copy the full SHA e13584cView commit details
Commits on Jan 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6111230 - Browse repository at this point
Copy the full SHA 6111230View commit details
Commits on Feb 11, 2021
-
Slight adjustments to formal cell dumping
* In std08 mode, avoid an explicit `='1'` for non-PSL asserts * Update the log_experiment call to reflect the use of non-PSL asserts
Configuration menu - View commit details
-
Copy full SHA for 0c6ea58 - Browse repository at this point
Copy the full SHA 0c6ea58View commit details -
Mark dump_memory_types as porting complete
Actually dumping memories though is currently an unresolved thing
Configuration menu - View commit details
-
Copy full SHA for f1b5e3c - Browse repository at this point
Copy the full SHA f1b5e3cView commit details -
Initial (believed working) port of $lut cell dumping
Qualified expression part will probably be moved into dump_sigspec
Configuration menu - View commit details
-
Copy full SHA for ad14b39 - Browse repository at this point
Copy the full SHA ad14b39View commit details
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 52d1a02 - Browse repository at this point
Copy the full SHA 52d1a02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38763f2 - Browse repository at this point
Copy the full SHA 38763f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b31e2 - Browse repository at this point
Copy the full SHA e6b31e2View commit details
Commits on Mar 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 32251b2 - Browse repository at this point
Copy the full SHA 32251b2View commit details
Commits on Mar 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e60aa70 - Browse repository at this point
Copy the full SHA e60aa70View commit details
Commits on Mar 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1bd4855 - Browse repository at this point
Copy the full SHA 1bd4855View commit details
Commits on Mar 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5b24da4 - Browse repository at this point
Copy the full SHA 5b24da4View commit details