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

Subversion Repositories soc_maker

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /soc_maker/trunk/examples
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

/run.txt
1,5 → 1,10
#
#
# Do
# ./bin/soc_maker_cli -l spec/test_soc_lib examples/run.txt
# to run this example
#
 
 
n my_soc v1 top
 
# create two instances of core_A and core_B
10,6 → 15,8
# set parameter 'param1' for 'A_inst'
p A_inst param1 16
 
p A_inst param2 8
 
# set static-parameter for core_A
sparameter core_Arel1 p2 3
 
/or1200_test.rb
25,6 → 25,13
soc.add_core( 'wb_connect', '1', 'wb_bus' )
 
soc.add_connection( 'cpu', 'wb_instruction', 'wb_bus', 'i0', 'con_instruction' )
soc.gen_toplevel
 
SOCMaker::lib.add_core( soc )
 
soc_inst = SOCMaker::CoreInst.new( 'or1200_testv1' )
 
 
soc_inst.gen_toplevel
 
soc.copy_files
 

powered by: WebSVN 2.1.0

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