Subversion Repositories ngs

Rev

Rev 100 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #!/bin/bash
  2.  
  3. FILES=""
  4. FILES="${FILES} ../dma/dma_sequencer.v"
  5. FILES="${FILES} ../dma/dma_access.v"
  6. FILES="${FILES} ../dma/dma_zx.v"
  7. FILES="${FILES} ../dma/dma_sd.v"
  8. FILES="${FILES} ../dma/dma_mp3.v"
  9. FILES="${FILES} ../dma/dma_fifo_oneshot.v"
  10. FILES="${FILES} ../common/spi.v"
  11. FILES="${FILES} ../sound/sound_main.v"
  12. FILES="${FILES} ../sound/sound_dac.v"
  13. FILES="${FILES} ../common/resetter.v"
  14. FILES="${FILES} ../zxbus/zxbus.v"
  15. FILES="${FILES} ../sound/sound_mulacc.v"
  16. FILES="${FILES} ../ports/ports.v"
  17. FILES="${FILES} ../memmap/memmap.v"
  18. FILES="${FILES} ../interrupts/interrupts.v"
  19. FILES="${FILES} ../interrupts/timer.v"
  20. FILES="${FILES} ../common/mem512b.v"
  21. FILES="${FILES} ../top.v"
  22.  
  23. BENCH="tb.v ram.v rom.v z80/z80.v sd.v mp3.v"
  24.  
  25. TV80=""
  26. TV80="${TV80} z80/tv80_alu.v"
  27. TV80="${TV80} z80/tv80_core.v"
  28. TV80="${TV80} z80/tv80_mcode.v"
  29. TV80="${TV80} z80/tv80_reg.v"
  30. TV80="${TV80} z80/tv80s.v"
  31.  
  32. VHDL=""
  33. VHDL="${VHDL} z80/T80_Pack.vhd "
  34. VHDL="${VHDL} z80/T80_ALU.vhd  "
  35. VHDL="${VHDL} z80/T80a.vhd     "
  36. VHDL="${VHDL} z80/T80_Reg.vhd  "
  37. VHDL="${VHDL} z80/T80.vhd      "
  38. VHDL="${VHDL} z80/T80_MCode.vhd"
  39.  
  40. #vcom -novopt $VHDL
  41.  
  42. if (( $#>0 )); then
  43.         vlog +define+$1 -sv -novopt -incr $FILES $BENCH $TV80
  44. else
  45.         vlog -sv -novopt -incr $FILES $BENCH $TV80
  46. fi
  47.  
  48.