mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Docs: Assert cell has group
Explicitly assign $_TBUF_ to `gate_other` and remove catch if a cell has no group.
This commit is contained in:
parent
5c4f7b4deb
commit
f70a66f5b3
3 changed files with 2 additions and 8 deletions
|
@ -88,12 +88,7 @@ for line in fileinput.input():
|
|||
simHelper.desc.pop(1)
|
||||
|
||||
# check group
|
||||
if not simHelper.group:
|
||||
if short_filename == 'simcells.v':
|
||||
simHelper.group = "gate_"
|
||||
elif short_filename == 'simlib.v':
|
||||
simHelper.group = "word_"
|
||||
simHelper.group += "other"
|
||||
assert simHelper.group, f"techlibs/common/{simHelper.source}: {simHelper.name} cell missing group"
|
||||
|
||||
# dump
|
||||
print(simHelper)
|
||||
|
|
|
@ -461,6 +461,7 @@ endmodule
|
|||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
//-
|
||||
//- $_TBUF_ (A, E, Y)
|
||||
//* group gate_other
|
||||
//-
|
||||
//- A tri-state buffer.
|
||||
//-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue