URL
https://opencores.org/ocsvn/neo430/neo430/trunk
Subversion Repositories neo430
[/] [neo430/] [trunk/] [neo430/] [sim/] [ghdl/] [ghdl_run.sh] - Rev 198
Compare with Previous | Blame | View Log
#!/bin/bash # Project home foler homedir=../.. # The directories of the hw source files srcdir_core=$homedir/rtl/core srcdir_top_templates=$homedir/rtl/top_templates srcdir_sim=$homedir/sim # List files ls -al $srcdir_core ls -al $srcdir_top_templates ls -al $srcdir_sim # Analyse sources ghdl -a --work=neo430 $srcdir_core/neo430_package.vhd ghdl -a --work=neo430 $srcdir_core/neo430_application_image.vhd ghdl -a --work=neo430 $srcdir_core/neo430_bootloader_image.vhd ghdl -a --work=neo430 $srcdir_core/neo430_addr_gen.vhd ghdl -a --work=neo430 $srcdir_core/neo430_alu.vhd ghdl -a --work=neo430 $srcdir_core/neo430_boot_rom.vhd ghdl -a --work=neo430 $srcdir_core/neo430_cfu.vhd ghdl -a --work=neo430 $srcdir_core/neo430_control.vhd ghdl -a --work=neo430 $srcdir_core/neo430_cpu.vhd ghdl -a --work=neo430 $srcdir_core/neo430_crc.vhd ghdl -a --work=neo430 $srcdir_core/neo430_dmem.vhd ghdl -a --work=neo430 $srcdir_core/neo430_exirq.vhd ghdl -a --work=neo430 $srcdir_core/neo430_freq_gen.vhd ghdl -a --work=neo430 $srcdir_core/neo430_gpio.vhd ghdl -a --work=neo430 $srcdir_core/neo430_imem.vhd ghdl -a --work=neo430 $srcdir_core/neo430_muldiv.vhd ghdl -a --work=neo430 $srcdir_core/neo430_pwm.vhd ghdl -a --work=neo430 $srcdir_core/neo430_reg_file.vhd ghdl -a --work=neo430 $srcdir_core/neo430_spi.vhd ghdl -a --work=neo430 $srcdir_core/neo430_sysconfig.vhd ghdl -a --work=neo430 $srcdir_core/neo430_timer.vhd ghdl -a --work=neo430 $srcdir_core/neo430_top.vhd ghdl -a --work=neo430 $srcdir_core/neo430_trng.vhd ghdl -a --work=neo430 $srcdir_core/neo430_twi.vhd ghdl -a --work=neo430 $srcdir_core/neo430_uart.vhd ghdl -a --work=neo430 $srcdir_core/neo430_wb_interface.vhd ghdl -a --work=neo430 $srcdir_core/neo430_wdt.vhd ghdl -a --work=neo430 $srcdir_top_templates/*.vhd $srcdir_sim/*.vhd # Elaborate top entity ghdl -e --work=neo430 neo430_top # Run simulation ghdl -e --work=neo430 neo430_tb ghdl -r --work=neo430 neo430_tb --stop-time=20ms --ieee-asserts=disable-at-0 --assert-level=error