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

Subversion Repositories soc_maker

[/] [soc_maker/] [trunk/] [examples/] [run.txt] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 feddischso
#
2
#
3
# Do
4
#   ./bin/soc_maker_cli -l spec/test_soc_lib  examples/run.txt
5
# to run this example
6
#
7 3 feddischso
 
8
n my_soc v1 top
9
 
10
# create two instances of core_A and core_B
11
a core_A rel1 A_inst
12
a core_B rel1 B_inst
13
 
14
 
15
# set parameter 'param1' for 'A_inst'
16
p A_inst param1 16
17
 
18 6 feddischso
p A_inst param2 8
19
 
20 3 feddischso
# set static-parameter for core_A
21
sparameter core_Arel1 p2 3
22
 
23
# connect A_inst and B_inst
24
c A_inst ifc01 B_inst myifc my_connection
25
 
26
# add a third instance
27
a core_A rel1 C_inst
28
 
29
# delete the instance
30
d C_inst
31
 
32
# generate the files
33
g
34
 
35
s test.yaml
36
 

powered by: WebSVN 2.1.0

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