ipweave 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. ipweave-0.1.0/LICENSE +202 -0
  2. ipweave-0.1.0/LICENSE.amaranth.txt +21 -0
  3. ipweave-0.1.0/NOTICE +113 -0
  4. ipweave-0.1.0/PKG-INFO +265 -0
  5. ipweave-0.1.0/README.md +230 -0
  6. ipweave-0.1.0/ipweave/__init__.py +28 -0
  7. ipweave-0.1.0/ipweave/_legacy_cli.py +80 -0
  8. ipweave-0.1.0/ipweave/_loc.py +46 -0
  9. ipweave-0.1.0/ipweave/_toolchain/__init__.py +37 -0
  10. ipweave-0.1.0/ipweave/_toolchain/yosys.py +255 -0
  11. ipweave-0.1.0/ipweave/_tree.py +59 -0
  12. ipweave-0.1.0/ipweave/_unused.py +47 -0
  13. ipweave-0.1.0/ipweave/_utils.py +104 -0
  14. ipweave-0.1.0/ipweave/agents.py +241 -0
  15. ipweave-0.1.0/ipweave/asserts.py +15 -0
  16. ipweave-0.1.0/ipweave/board/LICENSE.amaranth-boards.txt +21 -0
  17. ipweave-0.1.0/ipweave/board/LICENSE.litex-boards.txt +26 -0
  18. ipweave-0.1.0/ipweave/board/__init__.py +38 -0
  19. ipweave-0.1.0/ipweave/board/_catalogue.json +45923 -0
  20. ipweave-0.1.0/ipweave/board/_programmer.py +110 -0
  21. ipweave-0.1.0/ipweave/board/_provenance.json +1701 -0
  22. ipweave-0.1.0/ipweave/board/_registry.py +248 -0
  23. ipweave-0.1.0/ipweave/board/adi_adrv2crr_fmc.py +594 -0
  24. ipweave-0.1.0/ipweave/board/adi_plutosdr.py +57 -0
  25. ipweave-0.1.0/ipweave/board/alchitry_au.py +252 -0
  26. ipweave-0.1.0/ipweave/board/alchitry_cu.py +191 -0
  27. ipweave-0.1.0/ipweave/board/alchitry_mojo.py +85 -0
  28. ipweave-0.1.0/ipweave/board/alchitry_ptv2.py +740 -0
  29. ipweave-0.1.0/ipweave/board/alibaba_vu13p.py +319 -0
  30. ipweave-0.1.0/ipweave/board/alibaba_xcku3p.py +183 -0
  31. ipweave-0.1.0/ipweave/board/aliexpress_xc7k420t.py +114 -0
  32. ipweave-0.1.0/ipweave/board/aliexpress_xc7k70t.py +243 -0
  33. ipweave-0.1.0/ipweave/board/alinx_ax7010.py +237 -0
  34. ipweave-0.1.0/ipweave/board/alinx_ax7020.py +190 -0
  35. ipweave-0.1.0/ipweave/board/alinx_ax7203.py +242 -0
  36. ipweave-0.1.0/ipweave/board/alinx_ax7325b.py +323 -0
  37. ipweave-0.1.0/ipweave/board/alinx_axau15.py +262 -0
  38. ipweave-0.1.0/ipweave/board/alinx_axu2cga.py +179 -0
  39. ipweave-0.1.0/ipweave/board/arrow_deca.py +218 -0
  40. ipweave-0.1.0/ipweave/board/arty_a7.py +949 -0
  41. ipweave-0.1.0/ipweave/board/arty_s7.py +780 -0
  42. ipweave-0.1.0/ipweave/board/arty_z7.py +220 -0
  43. ipweave-0.1.0/ipweave/board/atlys.py +387 -0
  44. ipweave-0.1.0/ipweave/board/avnet_aesku40.py +100 -0
  45. ipweave-0.1.0/ipweave/board/berkeleylab_marble.py +341 -0
  46. ipweave-0.1.0/ipweave/board/berkeleylab_obsidian.py +229 -0
  47. ipweave-0.1.0/ipweave/board/blackice.py +185 -0
  48. ipweave-0.1.0/ipweave/board/blackice_ii.py +188 -0
  49. ipweave-0.1.0/ipweave/board/bochenjingxin_kintex7_basec.py +84 -0
  50. ipweave-0.1.0/ipweave/board/butterstick.py +336 -0
  51. ipweave-0.1.0/ipweave/board/camlink_4k.py +65 -0
  52. ipweave-0.1.0/ipweave/board/chameleon96.py +134 -0
  53. ipweave-0.1.0/ipweave/board/cmod_a7.py +441 -0
  54. ipweave-0.1.0/ipweave/board/cmod_s7.py +155 -0
  55. ipweave-0.1.0/ipweave/board/colorlight_5a75b_r7_0.py +250 -0
  56. ipweave-0.1.0/ipweave/board/colorlight_i9plus.py +300 -0
  57. ipweave-0.1.0/ipweave/board/cora_z7.py +452 -0
  58. ipweave-0.1.0/ipweave/board/de0.py +347 -0
  59. ipweave-0.1.0/ipweave/board/de0_cv.py +344 -0
  60. ipweave-0.1.0/ipweave/board/de0nano.py +226 -0
  61. ipweave-0.1.0/ipweave/board/de10_lite.py +303 -0
  62. ipweave-0.1.0/ipweave/board/de10_nano.py +249 -0
  63. ipweave-0.1.0/ipweave/board/de1_soc.py +293 -0
  64. ipweave-0.1.0/ipweave/board/decklink_intensity_pro_4k.py +72 -0
  65. ipweave-0.1.0/ipweave/board/decklink_mini_4k.py +139 -0
  66. ipweave-0.1.0/ipweave/board/decklink_quad_hdmi_recorder.py +159 -0
  67. ipweave-0.1.0/ipweave/board/designs.py +239 -0
  68. ipweave-0.1.0/ipweave/board/digilent_arty_z7.py +170 -0
  69. ipweave-0.1.0/ipweave/board/digilent_netfpga_sume.py +280 -0
  70. ipweave-0.1.0/ipweave/board/digilent_nexys4.py +421 -0
  71. ipweave-0.1.0/ipweave/board/digilent_nexys_video.py +405 -0
  72. ipweave-0.1.0/ipweave/board/digilent_pynq_z1.py +262 -0
  73. ipweave-0.1.0/ipweave/board/digilent_zedboard.py +337 -0
  74. ipweave-0.1.0/ipweave/board/digilent_zybo_z7.py +132 -0
  75. ipweave-0.1.0/ipweave/board/ebaz4205.py +59 -0
  76. ipweave-0.1.0/ipweave/board/ecp5_5g_evn.py +442 -0
  77. ipweave-0.1.0/ipweave/board/ecpix5.py +698 -0
  78. ipweave-0.1.0/ipweave/board/efinix_t120f324_kit.py +59 -0
  79. ipweave-0.1.0/ipweave/board/efinix_t120f576_kit.py +67 -0
  80. ipweave-0.1.0/ipweave/board/efinix_t20f256_kit.py +67 -0
  81. ipweave-0.1.0/ipweave/board/efinix_t8f81_kit.py +63 -0
  82. ipweave-0.1.0/ipweave/board/efinix_ti180j484_kit.py +67 -0
  83. ipweave-0.1.0/ipweave/board/efinix_ti375c529_kit.py +63 -0
  84. ipweave-0.1.0/ipweave/board/efinix_ti375n1156_kit.py +67 -0
  85. ipweave-0.1.0/ipweave/board/efinix_ti60f225_kit.py +67 -0
  86. ipweave-0.1.0/ipweave/board/efinix_tz170j484_kit.py +67 -0
  87. ipweave-0.1.0/ipweave/board/ego1.py +290 -0
  88. ipweave-0.1.0/ipweave/board/embedfire_rise_pro.py +335 -0
  89. ipweave-0.1.0/ipweave/board/enclustra_mercury_kx2.py +348 -0
  90. ipweave-0.1.0/ipweave/board/enclustra_mercury_xu5.py +96 -0
  91. ipweave-0.1.0/ipweave/board/extensions/__init__.py +0 -0
  92. ipweave-0.1.0/ipweave/board/extensions/pmod.py +94 -0
  93. ipweave-0.1.0/ipweave/board/fairwaves_xtrx.py +168 -0
  94. ipweave-0.1.0/ipweave/board/fomu_hacker.py +109 -0
  95. ipweave-0.1.0/ipweave/board/fomu_pvt.py +88 -0
  96. ipweave-0.1.0/ipweave/board/fpc_iii.py +159 -0
  97. ipweave-0.1.0/ipweave/board/fpgawars_alhambra2.py +147 -0
  98. ipweave-0.1.0/ipweave/board/gadgetfactory_papilio_pro.py +128 -0
  99. ipweave-0.1.0/ipweave/board/genesys2.py +566 -0
  100. ipweave-0.1.0/ipweave/board/hseda_xc7a35t.py +202 -0
  101. ipweave-0.1.0/ipweave/board/hyvision_pcie_opt01_revf.py +313 -0
  102. ipweave-0.1.0/ipweave/board/ice40_hx1k_blink_evn.py +132 -0
  103. ipweave-0.1.0/ipweave/board/ice40_hx8k_b_evn.py +233 -0
  104. ipweave-0.1.0/ipweave/board/ice40_up5k_b_evn.py +161 -0
  105. ipweave-0.1.0/ipweave/board/icebreaker.py +150 -0
  106. ipweave-0.1.0/ipweave/board/icebreaker_bitsy.py +175 -0
  107. ipweave-0.1.0/ipweave/board/icepi_zero.py +207 -0
  108. ipweave-0.1.0/ipweave/board/icestick.py +124 -0
  109. ipweave-0.1.0/ipweave/board/icesugar.py +154 -0
  110. ipweave-0.1.0/ipweave/board/icesugar_nano.py +89 -0
  111. ipweave-0.1.0/ipweave/board/icesugar_pro.py +251 -0
  112. ipweave-0.1.0/ipweave/board/isx_im1283.py +112 -0
  113. ipweave-0.1.0/ipweave/board/kc705.py +83 -0
  114. ipweave-0.1.0/ipweave/board/kcu105.py +78 -0
  115. ipweave-0.1.0/ipweave/board/kosagi_fomu_evt.py +111 -0
  116. ipweave-0.1.0/ipweave/board/kosagi_netv2.py +203 -0
  117. ipweave-0.1.0/ipweave/board/krtkl_snickerdoodle.py +210 -0
  118. ipweave-0.1.0/ipweave/board/lambdaconcept_pcie_screamer.py +100 -0
  119. ipweave-0.1.0/ipweave/board/lambdaconcept_pcie_screamer_m2.py +85 -0
  120. ipweave-0.1.0/ipweave/board/lattice_ecp5_vip.py +170 -0
  121. ipweave-0.1.0/ipweave/board/limesdr_xtrx.py +173 -0
  122. ipweave-0.1.0/ipweave/board/linsn_rv901t.py +186 -0
  123. ipweave-0.1.0/ipweave/board/logicbone.py +427 -0
  124. ipweave-0.1.0/ipweave/board/machdyne_krote.py +94 -0
  125. ipweave-0.1.0/ipweave/board/machxo2_breakout.py +335 -0
  126. ipweave-0.1.0/ipweave/board/machxo3_sk.py +708 -0
  127. ipweave-0.1.0/ipweave/board/mercury.py +264 -0
  128. ipweave-0.1.0/ipweave/board/micronova_mercury2.py +186 -0
  129. ipweave-0.1.0/ipweave/board/microphase_a7_lite.py +220 -0
  130. ipweave-0.1.0/ipweave/board/microzed_z010.py +153 -0
  131. ipweave-0.1.0/ipweave/board/microzed_z020.py +168 -0
  132. ipweave-0.1.0/ipweave/board/mist.py +86 -0
  133. ipweave-0.1.0/ipweave/board/mister.py +308 -0
  134. ipweave-0.1.0/ipweave/board/mlk_cu07_ku15p.py +122 -0
  135. ipweave-0.1.0/ipweave/board/mnt_rkx7.py +191 -0
  136. ipweave-0.1.0/ipweave/board/myir_myc_j7a100t.py +249 -0
  137. ipweave-0.1.0/ipweave/board/nandland_go.py +118 -0
  138. ipweave-0.1.0/ipweave/board/newae_cw305.py +109 -0
  139. ipweave-0.1.0/ipweave/board/nexys4ddr.py +420 -0
  140. ipweave-0.1.0/ipweave/board/nitefury.py +340 -0
  141. ipweave-0.1.0/ipweave/board/numato_aller.py +145 -0
  142. ipweave-0.1.0/ipweave/board/numato_mimas.py +171 -0
  143. ipweave-0.1.0/ipweave/board/numato_mimas_a7.py +364 -0
  144. ipweave-0.1.0/ipweave/board/numato_nereid.py +332 -0
  145. ipweave-0.1.0/ipweave/board/numato_tagus.py +291 -0
  146. ipweave-0.1.0/ipweave/board/ocp_tap_timecard.py +183 -0
  147. ipweave-0.1.0/ipweave/board/opalkelly_xem8320.py +492 -0
  148. ipweave-0.1.0/ipweave/board/opensourcesdrlab_kintex7.py +286 -0
  149. ipweave-0.1.0/ipweave/board/orangecrab_r0_1.py +176 -0
  150. ipweave-0.1.0/ipweave/board/orangecrab_r0_2.py +565 -0
  151. ipweave-0.1.0/ipweave/board/pano_logic_g2.py +136 -0
  152. ipweave-0.1.0/ipweave/board/qmtech_kintex7_devboard.py +191 -0
  153. ipweave-0.1.0/ipweave/board/qmtech_xc7a35t.py +175 -0
  154. ipweave-0.1.0/ipweave/board/qmtech_xc7k325t.py +183 -0
  155. ipweave-0.1.0/ipweave/board/qwertyembedded_beaglewire.py +116 -0
  156. ipweave-0.1.0/ipweave/board/redpitaya.py +118 -0
  157. ipweave-0.1.0/ipweave/board/redpitaya_125_14.py +111 -0
  158. ipweave-0.1.0/ipweave/board/resources/__init__.py +4 -0
  159. ipweave-0.1.0/ipweave/board/resources/display.py +36 -0
  160. ipweave-0.1.0/ipweave/board/resources/interface.py +144 -0
  161. ipweave-0.1.0/ipweave/board/resources/memory.py +240 -0
  162. ipweave-0.1.0/ipweave/board/resources/user.py +43 -0
  163. ipweave-0.1.0/ipweave/board/rfsoc4x2.py +264 -0
  164. ipweave-0.1.0/ipweave/board/rz_easyfpga_a2_2.py +246 -0
  165. ipweave-0.1.0/ipweave/board/saanlima_pipistrello.py +206 -0
  166. ipweave-0.1.0/ipweave/board/seeedstudio_spartan_edge_accelerator.py +123 -0
  167. ipweave-0.1.0/ipweave/board/siglent_sds1104xe.py +100 -0
  168. ipweave-0.1.0/ipweave/board/signaloid_c0_microsd.py +87 -0
  169. ipweave-0.1.0/ipweave/board/sk_xc6slx9.py +160 -0
  170. ipweave-0.1.0/ipweave/board/sqrl_fk33.py +119 -0
  171. ipweave-0.1.0/ipweave/board/stepmxo2.py +207 -0
  172. ipweave-0.1.0/ipweave/board/supercon19badge.py +329 -0
  173. ipweave-0.1.0/ipweave/board/tang_mega_138k_pro_dock.py +123 -0
  174. ipweave-0.1.0/ipweave/board/tang_nano.py +63 -0
  175. ipweave-0.1.0/ipweave/board/tang_nano_9k.py +147 -0
  176. ipweave-0.1.0/ipweave/board/tang_primer_20k.py +921 -0
  177. ipweave-0.1.0/ipweave/board/te0714_03_50_2I.py +238 -0
  178. ipweave-0.1.0/ipweave/board/test/__init__.py +0 -0
  179. ipweave-0.1.0/ipweave/board/test/blinky.py +51 -0
  180. ipweave-0.1.0/ipweave/board/tinyfpga_ax1.py +50 -0
  181. ipweave-0.1.0/ipweave/board/tinyfpga_ax2.py +50 -0
  182. ipweave-0.1.0/ipweave/board/tinyfpga_bx.py +109 -0
  183. ipweave-0.1.0/ipweave/board/trenz_mega65.py +75 -0
  184. ipweave-0.1.0/ipweave/board/trenz_s7mini.py +79 -0
  185. ipweave-0.1.0/ipweave/board/trenz_te0710.py +59 -0
  186. ipweave-0.1.0/ipweave/board/trenz_te0711.py +63 -0
  187. ipweave-0.1.0/ipweave/board/trenz_te0725.py +160 -0
  188. ipweave-0.1.0/ipweave/board/trenz_te0741.py +67 -0
  189. ipweave-0.1.0/ipweave/board/trenz_te0890.py +132 -0
  190. ipweave-0.1.0/ipweave/board/tul_pynq_z2.py +101 -0
  191. ipweave-0.1.0/ipweave/board/ulx3s.py +1478 -0
  192. ipweave-0.1.0/ipweave/board/upduino_v1.py +112 -0
  193. ipweave-0.1.0/ipweave/board/upduino_v2.py +116 -0
  194. ipweave-0.1.0/ipweave/board/upduino_v3.py +122 -0
  195. ipweave-0.1.0/ipweave/board/versa_ecp5.py +329 -0
  196. ipweave-0.1.0/ipweave/board/versa_ecp5_5g.py +279 -0
  197. ipweave-0.1.0/ipweave/board/xilinx_ac701.py +426 -0
  198. ipweave-0.1.0/ipweave/board/xilinx_alveo_u280.py +179 -0
  199. ipweave-0.1.0/ipweave/board/xilinx_kc705.py +580 -0
  200. ipweave-0.1.0/ipweave/board/xilinx_kcu105.py +600 -0
  201. ipweave-0.1.0/ipweave/board/xilinx_kcu116.py +426 -0
  202. ipweave-0.1.0/ipweave/board/xilinx_kv260.py +50 -0
  203. ipweave-0.1.0/ipweave/board/xilinx_sp605.py +323 -0
  204. ipweave-0.1.0/ipweave/board/xilinx_vc707.py +707 -0
  205. ipweave-0.1.0/ipweave/board/xilinx_vcu128.py +441 -0
  206. ipweave-0.1.0/ipweave/board/xilinx_zc706.py +430 -0
  207. ipweave-0.1.0/ipweave/board/xilinx_zcu102.py +534 -0
  208. ipweave-0.1.0/ipweave/board/xilinx_zcu216.py +257 -0
  209. ipweave-0.1.0/ipweave/board/ypcb_00338_1p1.py +145 -0
  210. ipweave-0.1.0/ipweave/board/ztex213.py +53 -0
  211. ipweave-0.1.0/ipweave/board/zturn_lite_z007s.py +116 -0
  212. ipweave-0.1.0/ipweave/board/zturn_lite_z010.py +116 -0
  213. ipweave-0.1.0/ipweave/build/__init__.py +3 -0
  214. ipweave-0.1.0/ipweave/build/dsl.py +283 -0
  215. ipweave-0.1.0/ipweave/build/plat.py +442 -0
  216. ipweave-0.1.0/ipweave/build/res.py +317 -0
  217. ipweave-0.1.0/ipweave/build/run.py +315 -0
  218. ipweave-0.1.0/ipweave/bus/__init__.py +108 -0
  219. ipweave-0.1.0/ipweave/bus/_expr.py +121 -0
  220. ipweave-0.1.0/ipweave/bus/binding/__init__.py +100 -0
  221. ipweave-0.1.0/ipweave/bus/binding/ahb.py +153 -0
  222. ipweave-0.1.0/ipweave/bus/binding/apb4.py +106 -0
  223. ipweave-0.1.0/ipweave/bus/binding/axi4.py +211 -0
  224. ipweave-0.1.0/ipweave/bus/binding/axi4_lite.py +161 -0
  225. ipweave-0.1.0/ipweave/bus/binding/base.py +327 -0
  226. ipweave-0.1.0/ipweave/bus/binding/obi.py +56 -0
  227. ipweave-0.1.0/ipweave/bus/binding/stream.py +171 -0
  228. ipweave-0.1.0/ipweave/bus/binding/tilelink_uh.py +197 -0
  229. ipweave-0.1.0/ipweave/bus/binding/tilelink_ul.py +156 -0
  230. ipweave-0.1.0/ipweave/bus/binding/wishbone.py +99 -0
  231. ipweave-0.1.0/ipweave/bus/checker.py +203 -0
  232. ipweave-0.1.0/ipweave/bus/core.py +162 -0
  233. ipweave-0.1.0/ipweave/bus/model.py +417 -0
  234. ipweave-0.1.0/ipweave/bus/spec.py +580 -0
  235. ipweave-0.1.0/ipweave/bus/specs/ahb.toml +218 -0
  236. ipweave-0.1.0/ipweave/bus/specs/apb4.toml +76 -0
  237. ipweave-0.1.0/ipweave/bus/specs/axi4.toml +218 -0
  238. ipweave-0.1.0/ipweave/bus/specs/axi4_lite.toml +229 -0
  239. ipweave-0.1.0/ipweave/bus/specs/axi_stream.toml +131 -0
  240. ipweave-0.1.0/ipweave/bus/specs/decoupled.toml +36 -0
  241. ipweave-0.1.0/ipweave/bus/specs/obi.toml +88 -0
  242. ipweave-0.1.0/ipweave/bus/specs/tilelink_uh.toml +277 -0
  243. ipweave-0.1.0/ipweave/bus/specs/tilelink_ul.toml +216 -0
  244. ipweave-0.1.0/ipweave/bus/specs/wishbone.toml +176 -0
  245. ipweave-0.1.0/ipweave/check/__init__.py +127 -0
  246. ipweave-0.1.0/ipweave/check/clocking.py +185 -0
  247. ipweave-0.1.0/ipweave/check/connectivity.py +104 -0
  248. ipweave-0.1.0/ipweave/check/depth.py +241 -0
  249. ipweave-0.1.0/ipweave/check/domains.py +242 -0
  250. ipweave-0.1.0/ipweave/check/fsm.py +196 -0
  251. ipweave-0.1.0/ipweave/check/mbist.py +103 -0
  252. ipweave-0.1.0/ipweave/check/netlist.py +91 -0
  253. ipweave-0.1.0/ipweave/check/pipeline.py +138 -0
  254. ipweave-0.1.0/ipweave/check/scan.py +117 -0
  255. ipweave-0.1.0/ipweave/check/views.py +279 -0
  256. ipweave-0.1.0/ipweave/check/xprop.py +68 -0
  257. ipweave-0.1.0/ipweave/cleanroom/__init__.py +13 -0
  258. ipweave-0.1.0/ipweave/cleanroom/_model.py +304 -0
  259. ipweave-0.1.0/ipweave/cli.py +1215 -0
  260. ipweave-0.1.0/ipweave/dft/__init__.py +13 -0
  261. ipweave-0.1.0/ipweave/dft/_model.py +195 -0
  262. ipweave-0.1.0/ipweave/dft/ijtag.py +273 -0
  263. ipweave-0.1.0/ipweave/dft/mbist.py +163 -0
  264. ipweave-0.1.0/ipweave/dft/tap.py +178 -0
  265. ipweave-0.1.0/ipweave/emit/__init__.py +0 -0
  266. ipweave-0.1.0/ipweave/emit/cxxrtl.py +40 -0
  267. ipweave-0.1.0/ipweave/emit/ipxact.py +443 -0
  268. ipweave-0.1.0/ipweave/emit/ipxact_schemas/PROVENANCE.json +37 -0
  269. ipweave-0.1.0/ipweave/emit/ipxact_schemas/abstractionDefinition.xsd +302 -0
  270. ipweave-0.1.0/ipweave/emit/ipxact_schemas/abstractor.xsd +165 -0
  271. ipweave-0.1.0/ipweave/emit/ipxact_schemas/autoConfigure.xsd +109 -0
  272. ipweave-0.1.0/ipweave/emit/ipxact_schemas/busDefinition.xsd +114 -0
  273. ipweave-0.1.0/ipweave/emit/ipxact_schemas/busInterface.xsd +591 -0
  274. ipweave-0.1.0/ipweave/emit/ipxact_schemas/catalog.xsd +79 -0
  275. ipweave-0.1.0/ipweave/emit/ipxact_schemas/commonStructures.xsd +1134 -0
  276. ipweave-0.1.0/ipweave/emit/ipxact_schemas/component.xsd +450 -0
  277. ipweave-0.1.0/ipweave/emit/ipxact_schemas/constraints.xsd +261 -0
  278. ipweave-0.1.0/ipweave/emit/ipxact_schemas/design.xsd +73 -0
  279. ipweave-0.1.0/ipweave/emit/ipxact_schemas/designConfig.xsd +187 -0
  280. ipweave-0.1.0/ipweave/emit/ipxact_schemas/file.xsd +467 -0
  281. ipweave-0.1.0/ipweave/emit/ipxact_schemas/fileType.xsd +88 -0
  282. ipweave-0.1.0/ipweave/emit/ipxact_schemas/generator.xsd +286 -0
  283. ipweave-0.1.0/ipweave/emit/ipxact_schemas/identifier.xsd +102 -0
  284. ipweave-0.1.0/ipweave/emit/ipxact_schemas/memoryMap.xsd +1862 -0
  285. ipweave-0.1.0/ipweave/emit/ipxact_schemas/model.xsd +372 -0
  286. ipweave-0.1.0/ipweave/emit/ipxact_schemas/port.xsd +1161 -0
  287. ipweave-0.1.0/ipweave/emit/ipxact_schemas/signalDrivers.xsd +221 -0
  288. ipweave-0.1.0/ipweave/emit/ipxact_schemas/simpleTypes.xsd +286 -0
  289. ipweave-0.1.0/ipweave/emit/ipxact_schemas/subInstances.xsd +376 -0
  290. ipweave-0.1.0/ipweave/emit/ipxact_schemas/typeDefinitions.xsd +198 -0
  291. ipweave-0.1.0/ipweave/emit/ipxact_schemas/xml.xsd +24 -0
  292. ipweave-0.1.0/ipweave/emit/rtlil.py +1306 -0
  293. ipweave-0.1.0/ipweave/emit/sdc.py +189 -0
  294. ipweave-0.1.0/ipweave/emit/sv/__init__.py +26 -0
  295. ipweave-0.1.0/ipweave/emit/sv/_emit.py +1237 -0
  296. ipweave-0.1.0/ipweave/emit/sv/_expr.py +554 -0
  297. ipweave-0.1.0/ipweave/emit/sv/_ports.py +208 -0
  298. ipweave-0.1.0/ipweave/emit/sv/_raise.py +125 -0
  299. ipweave-0.1.0/ipweave/emit/sv/_writer.py +227 -0
  300. ipweave-0.1.0/ipweave/emit/upf.py +139 -0
  301. ipweave-0.1.0/ipweave/emit/verilog.py +62 -0
  302. ipweave-0.1.0/ipweave/flow/__init__.py +8 -0
  303. ipweave-0.1.0/ipweave/flow/graph.py +280 -0
  304. ipweave-0.1.0/ipweave/hdl/__init__.py +40 -0
  305. ipweave-0.1.0/ipweave/hdl/_ast.py +3272 -0
  306. ipweave-0.1.0/ipweave/hdl/_cd.py +93 -0
  307. ipweave-0.1.0/ipweave/hdl/_dsl.py +702 -0
  308. ipweave-0.1.0/ipweave/hdl/_ir.py +1804 -0
  309. ipweave-0.1.0/ipweave/hdl/_mem.py +273 -0
  310. ipweave-0.1.0/ipweave/hdl/_nir.py +1498 -0
  311. ipweave-0.1.0/ipweave/hdl/_time.py +252 -0
  312. ipweave-0.1.0/ipweave/hdl/_xfrm.py +701 -0
  313. ipweave-0.1.0/ipweave/ip/__init__.py +15 -0
  314. ipweave-0.1.0/ipweave/ip/cdc/__init__.py +43 -0
  315. ipweave-0.1.0/ipweave/ip/cdc/handshake.py +215 -0
  316. ipweave-0.1.0/ipweave/ip/cdc/stream.py +123 -0
  317. ipweave-0.1.0/ipweave/ip/datapath/__init__.py +34 -0
  318. ipweave-0.1.0/ipweave/ip/datapath/divide.py +191 -0
  319. ipweave-0.1.0/ipweave/ip/datapath/multiply.py +201 -0
  320. ipweave-0.1.0/ipweave/ip/datapath/prefix.py +210 -0
  321. ipweave-0.1.0/ipweave/ip/datapath/reduce.py +135 -0
  322. ipweave-0.1.0/ipweave/ip/datapath/shift.py +231 -0
  323. ipweave-0.1.0/ipweave/ip/datapath/storage.py +233 -0
  324. ipweave-0.1.0/ipweave/ip/flow/__init__.py +34 -0
  325. ipweave-0.1.0/ipweave/ip/flow/arbiter.py +195 -0
  326. ipweave-0.1.0/ipweave/ip/flow/buffer.py +190 -0
  327. ipweave-0.1.0/ipweave/ip/flow/crossbar.py +159 -0
  328. ipweave-0.1.0/ipweave/lib/__init__.py +0 -0
  329. ipweave-0.1.0/ipweave/lib/cdc.py +282 -0
  330. ipweave-0.1.0/ipweave/lib/crc/__init__.py +362 -0
  331. ipweave-0.1.0/ipweave/lib/crc/catalog.py +911 -0
  332. ipweave-0.1.0/ipweave/lib/data.py +1437 -0
  333. ipweave-0.1.0/ipweave/lib/enum.py +416 -0
  334. ipweave-0.1.0/ipweave/lib/fifo.py +593 -0
  335. ipweave-0.1.0/ipweave/lib/io.py +1155 -0
  336. ipweave-0.1.0/ipweave/lib/memory.py +462 -0
  337. ipweave-0.1.0/ipweave/lib/meta.py +155 -0
  338. ipweave-0.1.0/ipweave/lib/stream.py +125 -0
  339. ipweave-0.1.0/ipweave/lib/wiring.py +1996 -0
  340. ipweave-0.1.0/ipweave/licence.py +168 -0
  341. ipweave-0.1.0/ipweave/params.py +228 -0
  342. ipweave-0.1.0/ipweave/phys.py +332 -0
  343. ipweave-0.1.0/ipweave/pipeline.py +344 -0
  344. ipweave-0.1.0/ipweave/platform/__init__.py +68 -0
  345. ipweave-0.1.0/ipweave/platform/_altera.py +83 -0
  346. ipweave-0.1.0/ipweave/platform/_common.py +80 -0
  347. ipweave-0.1.0/ipweave/platform/_efinix.py +296 -0
  348. ipweave-0.1.0/ipweave/platform/_microchip.py +198 -0
  349. ipweave-0.1.0/ipweave/platform/_registry.py +304 -0
  350. ipweave-0.1.0/ipweave/platform/_run.py +63 -0
  351. ipweave-0.1.0/ipweave/platform/asic.py +306 -0
  352. ipweave-0.1.0/ipweave/plugin.py +319 -0
  353. ipweave-0.1.0/ipweave/power.py +386 -0
  354. ipweave-0.1.0/ipweave/regs/__init__.py +49 -0
  355. ipweave-0.1.0/ipweave/regs/block.py +296 -0
  356. ipweave-0.1.0/ipweave/regs/cheader.py +138 -0
  357. ipweave-0.1.0/ipweave/regs/manual.py +171 -0
  358. ipweave-0.1.0/ipweave/regs/model.py +429 -0
  359. ipweave-0.1.0/ipweave/regs/ral.py +176 -0
  360. ipweave-0.1.0/ipweave/regs/rdl.py +442 -0
  361. ipweave-0.1.0/ipweave/rpc.py +114 -0
  362. ipweave-0.1.0/ipweave/rules/__init__.py +900 -0
  363. ipweave-0.1.0/ipweave/serve/__init__.py +13 -0
  364. ipweave-0.1.0/ipweave/serve/_protocol.py +140 -0
  365. ipweave-0.1.0/ipweave/serve/_tools.py +242 -0
  366. ipweave-0.1.0/ipweave/sim/__init__.py +13 -0
  367. ipweave-0.1.0/ipweave/sim/_async.py +782 -0
  368. ipweave-0.1.0/ipweave/sim/_base.py +101 -0
  369. ipweave-0.1.0/ipweave/sim/_pyclock.py +37 -0
  370. ipweave-0.1.0/ipweave/sim/_pycoro.py +129 -0
  371. ipweave-0.1.0/ipweave/sim/_pyeval.py +231 -0
  372. ipweave-0.1.0/ipweave/sim/_pyrtl.py +628 -0
  373. ipweave-0.1.0/ipweave/sim/core.py +486 -0
  374. ipweave-0.1.0/ipweave/sim/pysim.py +731 -0
  375. ipweave-0.1.0/ipweave/spec/__init__.py +21 -0
  376. ipweave-0.1.0/ipweave/spec/_model.py +259 -0
  377. ipweave-0.1.0/ipweave/spec/documents.py +244 -0
  378. ipweave-0.1.0/ipweave/strict.py +138 -0
  379. ipweave-0.1.0/ipweave/tech/__init__.py +27 -0
  380. ipweave-0.1.0/ipweave/tech/_model.py +454 -0
  381. ipweave-0.1.0/ipweave/timing.py +432 -0
  382. ipweave-0.1.0/ipweave/trace.py +291 -0
  383. ipweave-0.1.0/ipweave/tracer.py +77 -0
  384. ipweave-0.1.0/ipweave/utils.py +40 -0
  385. ipweave-0.1.0/ipweave/vendor/__init__.py +46 -0
  386. ipweave-0.1.0/ipweave/vendor/_altera.py +531 -0
  387. ipweave-0.1.0/ipweave/vendor/_gowin.py +584 -0
  388. ipweave-0.1.0/ipweave/vendor/_lattice.py +1062 -0
  389. ipweave-0.1.0/ipweave/vendor/_quicklogic.py +191 -0
  390. ipweave-0.1.0/ipweave/vendor/_siliconblue.py +595 -0
  391. ipweave-0.1.0/ipweave/vendor/_xilinx.py +1310 -0
  392. ipweave-0.1.0/ipweave/verif/__init__.py +10 -0
  393. ipweave-0.1.0/ipweave/verif/cosim.py +417 -0
  394. ipweave-0.1.0/ipweave/verif/cover.py +307 -0
  395. ipweave-0.1.0/ipweave/verif/equiv.py +194 -0
  396. ipweave-0.1.0/ipweave/verif/formal.py +286 -0
  397. ipweave-0.1.0/ipweave/verif/golden.py +202 -0
  398. ipweave-0.1.0/ipweave/verif/lint.py +258 -0
  399. ipweave-0.1.0/ipweave/verif/regression.py +195 -0
  400. ipweave-0.1.0/ipweave/verif/tools.py +198 -0
  401. ipweave-0.1.0/ipweave.egg-info/PKG-INFO +265 -0
  402. ipweave-0.1.0/ipweave.egg-info/SOURCES.txt +462 -0
  403. ipweave-0.1.0/ipweave.egg-info/dependency_links.txt +1 -0
  404. ipweave-0.1.0/ipweave.egg-info/entry_points.txt +5 -0
  405. ipweave-0.1.0/ipweave.egg-info/requires.txt +25 -0
  406. ipweave-0.1.0/ipweave.egg-info/top_level.txt +1 -0
  407. ipweave-0.1.0/pyproject.toml +75 -0
  408. ipweave-0.1.0/setup.cfg +4 -0
  409. ipweave-0.1.0/tests/test_agents.py +152 -0
  410. ipweave-0.1.0/tests/test_asic_path.py +215 -0
  411. ipweave-0.1.0/tests/test_board_designs.py +224 -0
  412. ipweave-0.1.0/tests/test_board_sweep.py +129 -0
  413. ipweave-0.1.0/tests/test_boards.py +280 -0
  414. ipweave-0.1.0/tests/test_bus.py +336 -0
  415. ipweave-0.1.0/tests/test_bus_binding.py +1137 -0
  416. ipweave-0.1.0/tests/test_bus_checker.py +131 -0
  417. ipweave-0.1.0/tests/test_bus_stream.py +151 -0
  418. ipweave-0.1.0/tests/test_check.py +837 -0
  419. ipweave-0.1.0/tests/test_check_pipeline.py +235 -0
  420. ipweave-0.1.0/tests/test_cleanroom.py +215 -0
  421. ipweave-0.1.0/tests/test_cli.py +223 -0
  422. ipweave-0.1.0/tests/test_cli_verbs.py +384 -0
  423. ipweave-0.1.0/tests/test_dft.py +279 -0
  424. ipweave-0.1.0/tests/test_dft_ijtag.py +202 -0
  425. ipweave-0.1.0/tests/test_dft_mbist.py +188 -0
  426. ipweave-0.1.0/tests/test_dft_tap.py +212 -0
  427. ipweave-0.1.0/tests/test_emit_files.py +174 -0
  428. ipweave-0.1.0/tests/test_emit_sv.py +531 -0
  429. ipweave-0.1.0/tests/test_emit_verilog.py +199 -0
  430. ipweave-0.1.0/tests/test_flow_graph.py +306 -0
  431. ipweave-0.1.0/tests/test_ip_cdc.py +287 -0
  432. ipweave-0.1.0/tests/test_ip_datapath.py +179 -0
  433. ipweave-0.1.0/tests/test_ip_flow.py +366 -0
  434. ipweave-0.1.0/tests/test_ip_multiply.py +214 -0
  435. ipweave-0.1.0/tests/test_ip_shift.py +115 -0
  436. ipweave-0.1.0/tests/test_ip_storage.py +198 -0
  437. ipweave-0.1.0/tests/test_ipxact.py +223 -0
  438. ipweave-0.1.0/tests/test_language_surface.py +438 -0
  439. ipweave-0.1.0/tests/test_licence.py +111 -0
  440. ipweave-0.1.0/tests/test_params.py +188 -0
  441. ipweave-0.1.0/tests/test_phys.py +255 -0
  442. ipweave-0.1.0/tests/test_pipeline.py +288 -0
  443. ipweave-0.1.0/tests/test_platform.py +165 -0
  444. ipweave-0.1.0/tests/test_platform_asic.py +209 -0
  445. ipweave-0.1.0/tests/test_platform_build.py +386 -0
  446. ipweave-0.1.0/tests/test_plugin.py +244 -0
  447. ipweave-0.1.0/tests/test_power.py +211 -0
  448. ipweave-0.1.0/tests/test_regs.py +339 -0
  449. ipweave-0.1.0/tests/test_regs_artefacts.py +271 -0
  450. ipweave-0.1.0/tests/test_rule_coverage.py +296 -0
  451. ipweave-0.1.0/tests/test_serve.py +188 -0
  452. ipweave-0.1.0/tests/test_spec.py +230 -0
  453. ipweave-0.1.0/tests/test_spec_documents.py +193 -0
  454. ipweave-0.1.0/tests/test_tech.py +307 -0
  455. ipweave-0.1.0/tests/test_tech_platform.py +138 -0
  456. ipweave-0.1.0/tests/test_timing.py +296 -0
  457. ipweave-0.1.0/tests/test_trace.py +250 -0
  458. ipweave-0.1.0/tests/test_vendor.py +307 -0
  459. ipweave-0.1.0/tests/test_verif_cosim.py +174 -0
  460. ipweave-0.1.0/tests/test_verif_cover.py +268 -0
  461. ipweave-0.1.0/tests/test_verif_formal.py +326 -0
  462. ipweave-0.1.0/tests/test_verif_golden.py +186 -0
  463. ipweave-0.1.0/tests/test_verif_lint.py +257 -0
  464. ipweave-0.1.0/tests/test_verif_regression.py +130 -0
ipweave-0.1.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ Copyright (C) 2019-2023 Amaranth HDL contributors
2
+
3
+ Redistribution and use in source and binary forms, with or without modification,
4
+ are permitted provided that the following conditions are met:
5
+
6
+ 1. Redistributions of source code must retain the above copyright notice, this
7
+ list of conditions and the following disclaimer.
8
+ 2. Redistributions in binary form must reproduce the above copyright notice,
9
+ this list of conditions and the following disclaimer in the documentation
10
+ and/or other materials provided with the distribution.
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ipweave-0.1.0/NOTICE ADDED
@@ -0,0 +1,113 @@
1
+ IPweave
2
+ Copyright 2026 IPweave contributors
3
+
4
+ This product includes software developed as part of the Amaranth project
5
+ (https://amaranth-lang.org), Copyright (C) Amaranth HDL contributors, licensed
6
+ under the BSD 2-Clause Licence. The full licence text is in LICENSE.amaranth.txt
7
+ and applies to the files derived from it.
8
+
9
+ Which files those are
10
+ ---------------------
11
+
12
+ The language core, its standard library, its simulator, its build system and its
13
+ existing backends were taken from Amaranth and are covered by BSD-2-Clause:
14
+
15
+ ipweave/hdl/ ipweave/lib/ ipweave/sim/
16
+ ipweave/build/ ipweave/vendor/ ipweave/_toolchain/
17
+ ipweave/back/rtlil.py ipweave/back/verilog.py ipweave/back/cxxrtl.py
18
+ ipweave/asserts.py ipweave/rpc.py ipweave/tracer.py
19
+ ipweave/utils.py ipweave/_utils.py ipweave/_unused.py
20
+ ipweave/cli.py ipweave/__init__.py
21
+ tests/lang/ examples/basic/ examples/board/
22
+
23
+ They have been modified: the Python namespace was renamed from `amaranth` to
24
+ `ipweave`, and three third-party dependencies (jschon, jinja2, pyvcd) were made
25
+ optional so that the core installs with none. Every other change is recorded in
26
+ the project's version control history.
27
+
28
+ Files added by IPweave, covered by Apache-2.0 (see LICENSE):
29
+
30
+ ipweave/emit/sv/ ipweave/rules/ ipweave/strict.py
31
+ ipweave/check/ ipweave/platform/ ipweave/ip/
32
+ ipweave/regs/ ipweave/params.py ipweave/_tree.py
33
+ ipweave/emit/ipxact.py ipweave/_loc.py ipweave/cli.py
34
+ tests/test_*.py tools/ examples/ipweave/
35
+
36
+ Board definitions
37
+ -----------------
38
+
39
+ The board files in ipweave/board/ are IPweave's own: one shape for all of them,
40
+ written by tools/canonicalise.py. What was *read* to write them came from two
41
+ upstream projects, and both are BSD 2-Clause.
42
+
43
+ amaranth-boards 75 boards https://github.com/amaranth-lang/amaranth-boards
44
+ Copyright (C) Amaranth HDL contributors
45
+ board/LICENSE.amaranth-boards.txt
46
+
47
+ litex-boards 95 boards https://github.com/litex-hub/litex-boards
48
+ Copyright 2012-2026 Enjoy-Digital
49
+ Copyright 2012-2026 / LiteX-Hub community
50
+ board/LICENSE.litex-boards.txt
51
+
52
+ Neither is copied verbatim. Upstream's platform classes descend from bases this
53
+ tree does not carry - migen and LiteX on one side, amaranth-boards' own on the
54
+ other - so tools/litex_import.py and tools/boards.py read each pinout out of the
55
+ source and IPweave board definitions are written from it. The pin numbers,
56
+ connector maps and clock frequencies are therefore theirs; the file shape, the
57
+ resource model and the code are this project's.
58
+
59
+ That distinction does not reduce what is owed. A pin table is the work, and it is
60
+ the part that took somebody a board revision to get right, so the exact upstream
61
+ file each board was read from is recorded per board in
62
+ ipweave/board/_provenance.json alongside the commit it was read at.
63
+
64
+ Nine boards have no upstream: they were written here from a vendor's own kit
65
+ files or datasheet, and _provenance.json says which and from what.
66
+
67
+ Efinity kit files (efinix-kits)
68
+ -------------------------------
69
+
70
+ Some Efinix board definitions were written from the .isf interface files that
71
+ ship with a local Efinity installation - the Interface Designer's own description
72
+ of each kit. Those files are *not* redistributed here. The pad assignments were
73
+ read out of a licensed local install and IPweave board definitions written from
74
+ them; the generated files are Apache-2.0 like the rest of this project's code.
75
+
76
+ IP-XACT schemas
77
+ ---------------
78
+
79
+ This product includes the IP-XACT (IEEE 1685-2022) XML schemas published by the
80
+ Accellera Systems Initiative, redistributed verbatim under the Apache License,
81
+ Version 2.0 - the same licence as this framework. Each file carries Accellera's
82
+ own notice at the top, unmodified.
83
+
84
+ ipweave/emit/ipxact_schemas/*.xsd
85
+
86
+ They are shipped so that `ipweave.emit.ipxact.validate()` checks a generated
87
+ document against the standard rather than against somebody's reading of it. Their
88
+ source, the date they were fetched and a digest of each file are recorded in
89
+ ipweave/emit/ipxact_schemas/PROVENANCE.json.
90
+
91
+ Accellera's own index.xsd is deliberately *not* included: it includes six files
92
+ that Accellera's server returns 404 for, so it cannot be used as an entry point.
93
+ component.xsd is self-contained for what this framework emits and is what
94
+ validate() loads. That is recorded in PROVENANCE.json too.
95
+
96
+ Interoperability identifiers kept deliberately
97
+ ----------------------------------------------
98
+
99
+ Some names are contracts with software outside this tree, so renaming them would
100
+ break interoperability rather than establish independence. They are unchanged on
101
+ purpose:
102
+
103
+ amaranth_yosys the PyPI package providing a bundled Yosys
104
+ AMARANTH_USE_YOSYS honoured alongside IPWEAVE_USE_YOSYS
105
+ runAmaranthYosys the JavaScript hook used in browser builds
106
+ _amaranth_shape_ the attribute third-party shape-castable
107
+ _amaranth_view_class_ classes set; renaming would break them
108
+ https://amaranth-lang.org/schema/amaranth/0.5/component.json
109
+ the component-metadata schema identifier.
110
+ It is that schema, and tools that consume
111
+ Amaranth component metadata recognise it by
112
+ this URI. Annotations original to IPweave
113
+ will carry an IPweave identifier instead.
ipweave-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,265 @@
1
+ Metadata-Version: 2.4
2
+ Name: ipweave
3
+ Version: 0.1.0
4
+ Summary: Typed hardware IP construction in Python, emitting readable SystemVerilog
5
+ Author: IPweave contributors
6
+ License: Apache-2.0 AND BSD-2-Clause
7
+ Keywords: hdl,systemverilog,rtl,fpga,asic,eda,ip-xact,systemrdl
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
12
+ Requires-Python: >=3.9
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ License-File: LICENSE.amaranth.txt
16
+ License-File: NOTICE
17
+ Provides-Extra: meta
18
+ Requires-Dist: jschon~=0.11.1; extra == "meta"
19
+ Provides-Extra: vcd
20
+ Requires-Dist: pyvcd<0.5,>=0.2.2; extra == "vcd"
21
+ Provides-Extra: build
22
+ Requires-Dist: jinja2~=3.0; extra == "build"
23
+ Provides-Extra: remote
24
+ Requires-Dist: paramiko~=2.7; extra == "remote"
25
+ Provides-Extra: yosys
26
+ Requires-Dist: amaranth-yosys>=0.40; extra == "yosys"
27
+ Provides-Extra: ipxact
28
+ Requires-Dist: xmlschema>=3; extra == "ipxact"
29
+ Provides-Extra: all
30
+ Requires-Dist: ipweave[build,ipxact,meta,remote,vcd,yosys]; extra == "all"
31
+ Provides-Extra: dev
32
+ Requires-Dist: pytest>=8; extra == "dev"
33
+ Requires-Dist: ipweave[all]; extra == "dev"
34
+ Dynamic: license-file
35
+
36
+ # IPweave
37
+
38
+ Typed hardware IP construction in Python, emitting **readable, hierarchical
39
+ SystemVerilog**.
40
+
41
+ IPweave is a complete hardware description environment: a vendored Amaranth language core,
42
+ a SystemVerilog printer that preserves the structure you wrote, a numbered rule engine that
43
+ refuses the mistakes Verilog makes silent, and the sign-off artefacts an integrator asks
44
+ for — IP-XACT, SDC, UPF, register maps and a bill of materials.
45
+
46
+ ```bash
47
+ pip install ipweave
48
+ ```
49
+
50
+ Python 3.9+. **No mandatory dependencies** — a bare install emits SystemVerilog, runs the
51
+ rules and runs the simulator.
52
+
53
+ ## The output is the point
54
+
55
+ The backend prints from the elaborated fragment tree — statements, hierarchy and names,
56
+ before anything is lowered to nets. Nothing is flattened and nothing is renamed.
57
+
58
+ ```python
59
+ from ipweave import Module, Signal, unsigned
60
+ from ipweave.lib import wiring
61
+ from ipweave.lib.wiring import In, Out
62
+ from ipweave.strict import wraps
63
+
64
+
65
+ class Counter(wiring.Component):
66
+ """Free-running counter with enable and a wrap pulse."""
67
+
68
+ en: In(1)
69
+ count: Out(unsigned(12))
70
+
71
+ def elaborate(self, platform):
72
+ m = Module()
73
+ count_q = Signal(unsigned(12))
74
+ with m.If(self.en):
75
+ m.d.sync += count_q.eq(
76
+ wraps(count_q + 1, 12, reason="free-running counter"))
77
+ m.d.comb += self.count.eq(count_q)
78
+ return m
79
+ ```
80
+
81
+ ```bash
82
+ ipweave build counter.py:Counter -o rtl/
83
+ ```
84
+
85
+ ```systemverilog
86
+ // Generated by ipweave 0.1.0 - regenerate, do not edit.
87
+ // Free-running counter with enable and a wrap pulse.
88
+ // source: counter.py:7 Counter
89
+
90
+ module counter (
91
+ input logic clk, // clock, positive edge
92
+ input logic rst, // synchronous reset, active high
93
+ input logic en,
94
+ output logic [11:0] count
95
+ );
96
+
97
+ logic [11:0] count_q;
98
+
99
+ always_ff @(posedge clk) begin
100
+ if (rst) begin
101
+ count_q <= 12'h0;
102
+ end else begin
103
+ if (en) begin
104
+ count_q <= 12'(count_q + 13'h1);
105
+ end
106
+ end
107
+ end
108
+
109
+ assign count = count_q;
110
+
111
+ endmodule
112
+ ```
113
+
114
+ One file per module. Aligned declarations. The names you chose. A provenance banner naming
115
+ the generator line that produced it. `12'(count_q + 13'h1)` because the add really is
116
+ thirteen bits wide and the top one really is being dropped — which the language would have
117
+ done silently.
118
+
119
+ A Verilog-2005 backend covers tools that will not read SystemVerilog, so one design reaches
120
+ both the newest flow and an older one.
121
+
122
+ ## What it refuses
123
+
124
+ Write `count_q.eq(count_q + 1)` — the idiom every Amaranth user reaches for, and a silent
125
+ truncation of the carry bit — and the build stops:
126
+
127
+ ```
128
+ error[IPW-E001] counter.py:16: assignment resizes: target unsigned(12), source unsigned(13)
129
+ note: target declared at counter.py:14
130
+ note: resize explicitly, so the line that loses or invents bits says so
131
+ why: Verilog's implicit extension and truncation is the largest single source of
132
+ silent RTL defects. The language this is built on resizes silently on
133
+ assignment; the strict dialect refuses to, and this pass finds it in code
134
+ that did not use it.
135
+ ```
136
+
137
+ **60 rules**, each with a number, a rationale and a severity, applied by **11 analysis
138
+ passes**. Profiles (`strict`, `asic`, `fpga`, `legacy`) change severities, never the rule
139
+ set. Waivers carry an owner, a reason and an expiry — and an expired waiver fails the
140
+ build.
141
+
142
+ Say which resize you meant, with `ipweave.strict`:
143
+
144
+ ```python
145
+ count.eq(zext(part, 12)) # widen with zero
146
+ delta.eq(sext(offset, 16)) # widen preserving sign
147
+ low.eq(trunc(total, 8)) # the upper bits were not information
148
+ count.eq(wraps(count + 1, 12, reason="free-running")) # they were, and dropping them is the point
149
+ ```
150
+
151
+ The passes cover clock-domain crossing, reset discipline, combinational loops, latch
152
+ inference, bus protocol conformance, register-map consistency, expression depth, power
153
+ intent, memory test coverage and unreachable logic.
154
+
155
+ ## Is it the same circuit?
156
+
157
+ Reading the output cannot tell you. So it is measured: identical stimulus into the Python
158
+ simulator and into a vendor simulator running the emitted SystemVerilog, every output
159
+ compared as a raw bit pattern, every cycle.
160
+
161
+ ```bash
162
+ python tools/cosim.py stress:Stress --cycles 3000
163
+ ```
164
+
165
+ ```
166
+ emitted 2 module(s): lane.sv, stress.sv
167
+ compared 3000 cycles x 9 outputs = 27000 samples
168
+ the emitted SystemVerilog and the generator agree on every cycle
169
+ ```
170
+
171
+ Beyond co-simulation, `ipweave formal` drives bounded model checking through SymbiYosys,
172
+ and `ipweave.verif.equiv` proves the emitted netlist equivalent to the synthesised design
173
+ with yosys and `eqy`. Functional coverage is sampled in the Python simulator, and a cross
174
+ with no expected value reports *unknown* rather than a hundred per cent.
175
+
176
+ ## Sign-off artefacts
177
+
178
+ One register description produces the C header, the SystemRDL, the IP-XACT, the UVM
179
+ register abstraction layer, the documentation and the RTL, so they cannot disagree.
180
+
181
+ Timing intent is written where the design is written and emitted as SDC. Power intent is
182
+ emitted as UPF, following IEEE 1801. Design-for-test covers the 1149.1 TAP state machine,
183
+ 1687 reconfigurable networks, scan intent and memory BIST coverage.
184
+
185
+ Seventeen command-line verbs, each with `--json`: `audit` collects what an integrator asks
186
+ for, `bom` lists what a design is built from, `describe` emits IP-XACT, `trace` follows a
187
+ signal through the hierarchy, and `serve` exposes the whole set over JSON-RPC for tooling.
188
+
189
+ ## Targets
190
+
191
+ **9 platforms** — AMD (Xilinx), Altera (Intel), Lattice, Gowin, Efinix, Microchip, and a
192
+ vendor-independent ASIC target that produces a handoff rather than a bitstream. **196
193
+ boards**, each carrying its pinout, its toolchain and where its definition came from.
194
+
195
+ ```bash
196
+ ipweave platforms # what each toolchain has been validated against
197
+ ipweave boards --vendor Lattice
198
+ ```
199
+
200
+ The platform table records which toolchains IPweave has actually built against and which it
201
+ has not, because a target nobody has run is not a target that works.
202
+
203
+ ## The IP catalogue
204
+
205
+ **20 blocks**, each with a stated contract: arbiters, crossbars, stream FIFOs, skid
206
+ buffers, pipeline stages, register files, content-addressable memory, multipliers,
207
+ dividers, prefix networks, funnel shifters and clock-domain crossings.
208
+
209
+ ```bash
210
+ ipweave catalogue
211
+ ```
212
+
213
+ ## The vendored language
214
+
215
+ The Amaranth language is vendored in full — its module system, standard library, simulator,
216
+ build system and existing backends — under a recorded patch discipline.
217
+ `ipweave/_vendor.json` holds the upstream commit and a digest of every file, four declared
218
+ patches carry a reason each, and `python tools/vendor.py diff <amaranth-checkout>` replays
219
+ the transform against a fresh upstream so an upgrade is something you read rather than
220
+ merge.
221
+
222
+ The **syntax is unchanged** — shapes, operators, `m.d.sync +=`, `m.If`/`m.FSM`,
223
+ `lib.wiring`, `lib.data`, `lib.memory`, the simulator.
224
+ [tests/test_language_surface.py](tests/test_language_surface.py) is the short statement of
225
+ that promise, and the vendored suite is the long one.
226
+
227
+ Two things moved, because the package layout is IPweave's:
228
+
229
+ | Amaranth | IPweave |
230
+ | --- | --- |
231
+ | `amaranth.back` | `ipweave.emit`, alongside `ipxact`, `sdc` and `upf` |
232
+ | `amaranth.cli` | `ipweave.cli` is IPweave's; the old one is `ipweave._legacy_cli` |
233
+
234
+ Everything else is `amaranth` → `ipweave`.
235
+
236
+ ## Testing
237
+
238
+ ```
239
+ 2494 tests
240
+ 1146 the vendored language, unchanged
241
+ 1348 the printer, the rules, the passes, the catalogue, the platforms, the boards,
242
+ the register layer, verification, design-for-test and the command line
243
+
244
+ Verible lint clean · Questa vlog -lint clean · co-simulation exact
245
+ ```
246
+
247
+ `python tools/gate.py` runs every invariant as one thing — the suite, the vendoring
248
+ discipline, the rule rationales, rule coverage, the dependency boundary, attribution and
249
+ the installation self-test — and fails when a check does not pass **or cannot run**.
250
+
251
+ ## Licence
252
+
253
+ Apache-2.0 for IPweave's own code. The vendored Amaranth language is BSD-2-Clause, and the
254
+ board definitions carry the licences of the projects they came from. See [LICENSE](LICENSE),
255
+ [LICENSE.amaranth.txt](LICENSE.amaranth.txt),
256
+ [LICENSE.litex-boards.txt](ipweave/board/LICENSE.litex-boards.txt) and [NOTICE](NOTICE) —
257
+ the last names exactly which files come from where.
258
+
259
+ The board set is drawn from **amaranth-boards** and **litex-boards**, re-expressed in
260
+ IPweave's own definition format rather than copied, so that every board states its pinout,
261
+ its toolchain and its origin in one place.
262
+
263
+ Amaranth is developed at [amaranth-lang.org](https://amaranth-lang.org). LiteX and
264
+ litex-boards are developed by [Enjoy-Digital](https://github.com/enjoy-digital) and the
265
+ LiteX-Hub community. This project is not affiliated with either.