OpenCores
URL https://opencores.org/ocsvn/soc_maker/soc_maker/trunk

Subversion Repositories soc_maker

[/] [soc_maker/] [trunk/] [examples/] [run.txt] - Diff between revs 3 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 6
Line 1... Line 1...
 
#
 
#
 
# Do
 
#   ./bin/soc_maker_cli -l spec/test_soc_lib  examples/run.txt
 
# to run this example
 
#
 
 
n my_soc v1 top
n my_soc v1 top
 
 
# create two instances of core_A and core_B
# create two instances of core_A and core_B
a core_A rel1 A_inst
a core_A rel1 A_inst
Line 8... Line 13...
 
 
 
 
# set parameter 'param1' for 'A_inst'
# set parameter 'param1' for 'A_inst'
p A_inst param1 16
p A_inst param1 16
 
 
 
p A_inst param2 8
 
 
# set static-parameter for core_A
# set static-parameter for core_A
sparameter core_Arel1 p2 3
sparameter core_Arel1 p2 3
 
 
# connect A_inst and B_inst
# connect A_inst and B_inst
c A_inst ifc01 B_inst myifc my_connection
c A_inst ifc01 B_inst myifc my_connection

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.