Files
OpenSTA/test/get_is_memory.tcl
Akash Levy 70d52c2fe0 Make is_memory property more sensitive for cells and libcells by also matching on memory groups (#129)
* Add `has_memory` property

* Whitespace fixes

* Remove unused argument name

* Review fixes

* Move gf180mcu_sram.lib.gz from examples/ to test/

* Fix tcl script

* Switch to is_memory

* Remove is_memory_cell
2024-11-20 15:10:12 -08:00

12 lines
439 B
Tcl

# Tests whether the is_memory attribute works for cells and libcells
read_liberty gf180mcu_sram.lib.gz
read_liberty asap7_small.lib.gz
read_verilog get_is_memory.v
link get_is_memory
# Test that the is_memory attribute is set correctly for cells
puts {[get_cells -filter is_memory]}
report_object_full_names [get_cells -filter is_memory]
puts {[get_lib_cells -filter is_memory]}
report_object_full_names [get_lib_cells -filter is_memory]