Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2021
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. $ rm -rf build/sim; litex/litex/tools/litex_sim.py --cpu-type mor1kx
  2. INFO:SoC: __ _ __ _ __
  3. INFO:SoC: / / (_) /____ | |/_/
  4. INFO:SoC: / /__/ / __/ -_)> <
  5. INFO:SoC: /____/_/\__/\__/_/|_|
  6. INFO:SoC: Build your hardware, easily!
  7. INFO:SoC:--------------------------------------------------------------------------------
  8. INFO:SoC:Creating SoC... (2021-10-22 07:30:29)
  9. INFO:SoC:--------------------------------------------------------------------------------
  10. INFO:SoC:FPGA device : SIM.
  11. INFO:SoC:System clock: 1.000MHz.
  12. INFO:SoCBusHandler:Creating Bus Handler...
  13. INFO:SoCBusHandler:32-bit wishbone Bus, 4.0GiB Address Space.
  14. INFO:SoCBusHandler:Adding reserved Bus Regions...
  15. INFO:SoCBusHandler:Bus Handler created.
  16. INFO:SoCCSRHandler:Creating CSR Handler...
  17. INFO:SoCCSRHandler:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  18. INFO:SoCCSRHandler:Adding reserved CSRs...
  19. INFO:SoCCSRHandler:CSR Handler created.
  20. INFO:SoCIRQHandler:Creating IRQ Handler...
  21. INFO:SoCIRQHandler:IRQ Handler (up to 32 Locations).
  22. INFO:SoCIRQHandler:Adding reserved IRQs...
  23. INFO:SoCIRQHandler:IRQ Handler created.
  24. INFO:SoC:--------------------------------------------------------------------------------
  25. INFO:SoC:Initial SoC:
  26. INFO:SoC:--------------------------------------------------------------------------------
  27. INFO:SoC:32-bit wishbone Bus, 4.0GiB Address Space.
  28. INFO:SoC:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  29. INFO:SoC:IRQ Handler (up to 32 Locations).
  30. INFO:SoC:--------------------------------------------------------------------------------
  31. INFO:SoCBusHandler:io0 Region added at Origin: 0x80000000, Size: 0x80000000, Mode: RW, Cached: False Linker: False.
  32. INFO:SoCBusHandler:cpu_bus0 added as Bus Master.
  33. INFO:SoCBusHandler:cpu_bus1 added as Bus Master.
  34. INFO:SoCBusHandler:rom Region added at Origin: 0x00000000, Size: 0x00020000, Mode: R, Cached: True Linker: False.
  35. INFO:SoCBusHandler:rom added as Bus Slave.
  36. INFO:SoC:RAM rom added Origin: 0x00000000, Size: 0x00020000, Mode: R, Cached: True Linker: False.
  37. INFO:SoCBusHandler:sram Region added at Origin: 0x01000000, Size: 0x00002000, Mode: RW, Cached: True Linker: False.
  38. INFO:SoCBusHandler:sram added as Bus Slave.
  39. INFO:SoC:RAM sram added Origin: 0x01000000, Size: 0x00002000, Mode: RW, Cached: True Linker: False.
  40. INFO:SoCIRQHandler:uart IRQ allocated at Location 0.
  41. INFO:SoCIRQHandler:timer0 IRQ allocated at Location 1.
  42. INFO:SoCBusHandler:csr Region added at Origin: 0x82000000, Size: 0x00010000, Mode: RW, Cached: False Linker: False.
  43. INFO:SoCBusHandler:csr added as Bus Slave.
  44. INFO:SoCCSRHandler:bridge added as CSR Master.
  45. INFO:SoCBusHandler:Interconnect: InterconnectShared (2 <-> 3).
  46. INFO:SoCCSRHandler:ctrl CSR allocated at Location 0.
  47. INFO:SoCCSRHandler:identifier_mem CSR allocated at Location 1.
  48. INFO:SoCCSRHandler:timer0 CSR allocated at Location 2.
  49. INFO:SoCCSRHandler:uart CSR allocated at Location 3.
  50. INFO:SoC:--------------------------------------------------------------------------------
  51. INFO:SoC:Finalized SoC:
  52. INFO:SoC:--------------------------------------------------------------------------------
  53. INFO:SoC:32-bit wishbone Bus, 4.0GiB Address Space.
  54. IO Regions: (1)
  55. io0 : Origin: 0x80000000, Size: 0x80000000, Mode: RW, Cached: False Linker: False
  56. Bus Regions: (3)
  57. rom : Origin: 0x00000000, Size: 0x00020000, Mode: R, Cached: True Linker: False
  58. sram : Origin: 0x01000000, Size: 0x00002000, Mode: RW, Cached: True Linker: False
  59. csr : Origin: 0x82000000, Size: 0x00010000, Mode: RW, Cached: False Linker: False
  60. Bus Masters: (2)
  61. - cpu_bus0
  62. - cpu_bus1
  63. Bus Slaves: (3)
  64. - rom
  65. - sram
  66. - csr
  67. INFO:SoC:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  68. CSR Locations: (4)
  69. - ctrl : 0
  70. - identifier_mem : 1
  71. - timer0 : 2
  72. - uart : 3
  73. INFO:SoC:IRQ Handler (up to 32 Locations).
  74. IRQ Locations: (2)
  75. - uart : 0
  76. - timer0 : 1
  77. INFO:SoC:--------------------------------------------------------------------------------
  78. Traceback (most recent call last):
  79. File "/home/somlo/LITEX/litex/litex/tools/litex_sim.py", line 477, in <module>
  80. main()
  81. File "/home/somlo/LITEX/litex/litex/tools/litex_sim.py", line 464, in main
  82. builder.build(
  83. File "/home/somlo/LITEX/litex/litex/soc/integration/builder.py", line 300, in build
  84. self._generate_includes(with_bios=with_bios)
  85. File "/home/somlo/LITEX/litex/litex/soc/integration/builder.py", line 169, in _generate_includes
  86. variables_contents = self._get_variables_contents()
  87. File "/home/somlo/LITEX/litex/litex/soc/integration/builder.py", line 139, in _get_variables_contents
  88. for k, v in export.get_cpu_mak(self.soc.cpu, self.compile_software):
  89. File "/home/somlo/LITEX/litex/litex/soc/integration/export.py", line 93, in get_cpu_mak
  90. ("TRIPLE", select_triple(triple)),
  91. File "/home/somlo/LITEX/litex/litex/soc/integration/export.py", line 88, in select_triple
  92. raise OSError(msg)
  93. OSError: Unable to find any of the cross compilation toolchains:
  94. - or1k-elf
  95.  
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement