Module: SystemRDL::Model
- Defined in:
- lib/systemrdl/model.rb,
lib/systemrdl/model/value.rb,
lib/systemrdl/model/instance.rb
Defined Under Namespace
Classes: AddrMap, Field, HexValue, Instance, Mem, ReferenceValue, Reg, RegFile, Value
Class Method Summary
collapse
Class Method Details
.build(root) ⇒ Object
6
7
8
9
10
11
12
13
|
# File 'lib/systemrdl/model.rb', line 6
def build(root)
models = root.instances.map do |addrmap|
AddrMap.new(addrmap, nil)
end
finalize(models)
models
end
|