URL
https://opencores.org/ocsvn/soc_maker/soc_maker/trunk
[/] [soc_maker/] [trunk/] [spec/] [component_spec.rb] - Diff between revs 3 and 5
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 5 |
Line 173... |
Line 173... |
a_default.should be == [ 0, 0, 0, 0 ]
|
a_default.should be == [ 0, 0, 0, 0 ]
|
a_is_last.should be == [ false, false, false, true ]
|
a_is_last.should be == [ false, false, false, true ]
|
end
|
end
|
|
|
|
|
|
|
|
|
it 'should iterate over all ports' do
|
it 'should iterate over all ports' do
|
|
|
SOCMaker::lib.clear
|
SOCMaker::lib.clear
|
ifc_s1 = SOCMaker::IfcSpc.new( "i1", "v1", 'ports' => { p1: 1, p2: 1, p3: 0 } )
|
ifc_s1 = SOCMaker::IfcSpc.new( "i1", "v1", 'ports' => { p1: 1, p2: 1, p3: 0 } )
|
ifc_s2 = SOCMaker::IfcSpc.new( "i2", "v1", 'ports' => { x1: 1, x2: 0 } )
|
ifc_s2 = SOCMaker::IfcSpc.new( "i2", "v1", 'ports' => { x1: 1, x2: 0 } )
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.