abcmapram.v 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. // megafunction wizard: %RAM: 2-PORT%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: altsyncram
  5. // ============================================================
  6. // File Name: abcmapram.v
  7. // Megafunction Name(s):
  8. // altsyncram
  9. //
  10. // Simulation Library Files(s):
  11. // altera_mf
  12. // ============================================================
  13. // ************************************************************
  14. // THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
  15. //
  16. // 20.1.1 Build 720 11/11/2020 SJ Lite Edition
  17. // ************************************************************
  18. //Copyright (C) 2020 Intel Corporation. All rights reserved.
  19. //Your use of Intel Corporation's design tools, logic functions
  20. //and other software and tools, and any partner logic
  21. //functions, and any output files from any of the foregoing
  22. //(including device programming or simulation files), and any
  23. //associated documentation or information are expressly subject
  24. //to the terms and conditions of the Intel Program License
  25. //Subscription Agreement, the Intel Quartus Prime License Agreement,
  26. //the Intel FPGA IP License Agreement, or other applicable license
  27. //agreement, including, without limitation, that your use is for
  28. //the sole purpose of programming logic devices manufactured by
  29. //Intel and sold by Intel or its authorized distributors. Please
  30. //refer to the applicable agreement for further details, at
  31. //https://fpgasoftware.intel.com/eula.
  32. // synopsys translate_off
  33. `timescale 1 ps / 1 ps
  34. // synopsys translate_on
  35. module abcmapram (
  36. aclr,
  37. address_a,
  38. address_b,
  39. byteena_a,
  40. byteena_b,
  41. clock,
  42. data_a,
  43. data_b,
  44. wren_a,
  45. wren_b,
  46. q_a,
  47. q_b);
  48. input aclr;
  49. input [7:0] address_a;
  50. input [7:0] address_b;
  51. input [3:0] byteena_a;
  52. input [3:0] byteena_b;
  53. input clock;
  54. input [35:0] data_a;
  55. input [35:0] data_b;
  56. input wren_a;
  57. input wren_b;
  58. output [35:0] q_a;
  59. output [35:0] q_b;
  60. `ifndef ALTERA_RESERVED_QIS
  61. // synopsys translate_off
  62. `endif
  63. tri0 aclr;
  64. tri1 [3:0] byteena_a;
  65. tri1 [3:0] byteena_b;
  66. tri1 clock;
  67. tri0 wren_a;
  68. tri0 wren_b;
  69. `ifndef ALTERA_RESERVED_QIS
  70. // synopsys translate_on
  71. `endif
  72. wire [35:0] sub_wire0;
  73. wire [35:0] sub_wire1;
  74. wire [35:0] q_a = sub_wire0[35:0];
  75. wire [35:0] q_b = sub_wire1[35:0];
  76. altsyncram altsyncram_component (
  77. .aclr0 (aclr),
  78. .address_a (address_a),
  79. .address_b (address_b),
  80. .byteena_a (byteena_a),
  81. .byteena_b (byteena_b),
  82. .clock0 (clock),
  83. .data_a (data_a),
  84. .data_b (data_b),
  85. .wren_a (wren_a),
  86. .wren_b (wren_b),
  87. .q_a (sub_wire0),
  88. .q_b (sub_wire1),
  89. .aclr1 (1'b0),
  90. .addressstall_a (1'b0),
  91. .addressstall_b (1'b0),
  92. .clock1 (1'b1),
  93. .clocken0 (1'b1),
  94. .clocken1 (1'b1),
  95. .clocken2 (1'b1),
  96. .clocken3 (1'b1),
  97. .eccstatus (),
  98. .rden_a (1'b1),
  99. .rden_b (1'b1));
  100. defparam
  101. altsyncram_component.address_reg_b = "CLOCK0",
  102. altsyncram_component.byteena_reg_b = "CLOCK0",
  103. altsyncram_component.byte_size = 9,
  104. altsyncram_component.clock_enable_input_a = "BYPASS",
  105. altsyncram_component.clock_enable_input_b = "BYPASS",
  106. altsyncram_component.clock_enable_output_a = "BYPASS",
  107. altsyncram_component.clock_enable_output_b = "BYPASS",
  108. altsyncram_component.indata_reg_b = "CLOCK0",
  109. altsyncram_component.intended_device_family = "Cyclone IV E",
  110. altsyncram_component.lpm_type = "altsyncram",
  111. altsyncram_component.numwords_a = 256,
  112. altsyncram_component.numwords_b = 256,
  113. altsyncram_component.operation_mode = "BIDIR_DUAL_PORT",
  114. altsyncram_component.outdata_aclr_a = "CLEAR0",
  115. altsyncram_component.outdata_aclr_b = "CLEAR0",
  116. altsyncram_component.outdata_reg_a = "CLOCK0",
  117. altsyncram_component.outdata_reg_b = "CLOCK0",
  118. altsyncram_component.power_up_uninitialized = "FALSE",
  119. altsyncram_component.read_during_write_mode_mixed_ports = "OLD_DATA",
  120. altsyncram_component.read_during_write_mode_port_a = "NEW_DATA_WITH_NBE_READ",
  121. altsyncram_component.read_during_write_mode_port_b = "NEW_DATA_WITH_NBE_READ",
  122. altsyncram_component.widthad_a = 8,
  123. altsyncram_component.widthad_b = 8,
  124. altsyncram_component.width_a = 36,
  125. altsyncram_component.width_b = 36,
  126. altsyncram_component.width_byteena_a = 4,
  127. altsyncram_component.width_byteena_b = 4,
  128. altsyncram_component.wrcontrol_wraddress_reg_b = "CLOCK0";
  129. endmodule
  130. // ============================================================
  131. // CNX file retrieval info
  132. // ============================================================
  133. // Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
  134. // Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
  135. // Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
  136. // Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
  137. // Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "1"
  138. // Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "1"
  139. // Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "9"
  140. // Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
  141. // Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
  142. // Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
  143. // Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
  144. // Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
  145. // Retrieval info: PRIVATE: CLRdata NUMERIC "0"
  146. // Retrieval info: PRIVATE: CLRq NUMERIC "1"
  147. // Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
  148. // Retrieval info: PRIVATE: CLRrren NUMERIC "0"
  149. // Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
  150. // Retrieval info: PRIVATE: CLRwren NUMERIC "0"
  151. // Retrieval info: PRIVATE: Clock NUMERIC "0"
  152. // Retrieval info: PRIVATE: Clock_A NUMERIC "0"
  153. // Retrieval info: PRIVATE: Clock_B NUMERIC "0"
  154. // Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
  155. // Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
  156. // Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
  157. // Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
  158. // Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
  159. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  160. // Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
  161. // Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
  162. // Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
  163. // Retrieval info: PRIVATE: MEMSIZE NUMERIC "9216"
  164. // Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
  165. // Retrieval info: PRIVATE: MIFfilename STRING ""
  166. // Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
  167. // Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "1"
  168. // Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "1"
  169. // Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
  170. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "1"
  171. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "4"
  172. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "4"
  173. // Retrieval info: PRIVATE: REGdata NUMERIC "1"
  174. // Retrieval info: PRIVATE: REGq NUMERIC "1"
  175. // Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
  176. // Retrieval info: PRIVATE: REGrren NUMERIC "0"
  177. // Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
  178. // Retrieval info: PRIVATE: REGwren NUMERIC "1"
  179. // Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
  180. // Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
  181. // Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
  182. // Retrieval info: PRIVATE: VarWidth NUMERIC "0"
  183. // Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "36"
  184. // Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "36"
  185. // Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "36"
  186. // Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "36"
  187. // Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
  188. // Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
  189. // Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
  190. // Retrieval info: PRIVATE: enable NUMERIC "0"
  191. // Retrieval info: PRIVATE: rden NUMERIC "0"
  192. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  193. // Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK0"
  194. // Retrieval info: CONSTANT: BYTEENA_REG_B STRING "CLOCK0"
  195. // Retrieval info: CONSTANT: BYTE_SIZE NUMERIC "9"
  196. // Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
  197. // Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
  198. // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
  199. // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
  200. // Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK0"
  201. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  202. // Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
  203. // Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "256"
  204. // Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "256"
  205. // Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
  206. // Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "CLEAR0"
  207. // Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "CLEAR0"
  208. // Retrieval info: CONSTANT: OUTDATA_REG_A STRING "CLOCK0"
  209. // Retrieval info: CONSTANT: OUTDATA_REG_B STRING "CLOCK0"
  210. // Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
  211. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_MIXED_PORTS STRING "OLD_DATA"
  212. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_WITH_NBE_READ"
  213. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "NEW_DATA_WITH_NBE_READ"
  214. // Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "8"
  215. // Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "8"
  216. // Retrieval info: CONSTANT: WIDTH_A NUMERIC "36"
  217. // Retrieval info: CONSTANT: WIDTH_B NUMERIC "36"
  218. // Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "4"
  219. // Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "4"
  220. // Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK0"
  221. // Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT GND "aclr"
  222. // Retrieval info: USED_PORT: address_a 0 0 8 0 INPUT NODEFVAL "address_a[7..0]"
  223. // Retrieval info: USED_PORT: address_b 0 0 8 0 INPUT NODEFVAL "address_b[7..0]"
  224. // Retrieval info: USED_PORT: byteena_a 0 0 4 0 INPUT VCC "byteena_a[3..0]"
  225. // Retrieval info: USED_PORT: byteena_b 0 0 4 0 INPUT VCC "byteena_b[3..0]"
  226. // Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC "clock"
  227. // Retrieval info: USED_PORT: data_a 0 0 36 0 INPUT NODEFVAL "data_a[35..0]"
  228. // Retrieval info: USED_PORT: data_b 0 0 36 0 INPUT NODEFVAL "data_b[35..0]"
  229. // Retrieval info: USED_PORT: q_a 0 0 36 0 OUTPUT NODEFVAL "q_a[35..0]"
  230. // Retrieval info: USED_PORT: q_b 0 0 36 0 OUTPUT NODEFVAL "q_b[35..0]"
  231. // Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
  232. // Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
  233. // Retrieval info: CONNECT: @aclr0 0 0 0 0 aclr 0 0 0 0
  234. // Retrieval info: CONNECT: @address_a 0 0 8 0 address_a 0 0 8 0
  235. // Retrieval info: CONNECT: @address_b 0 0 8 0 address_b 0 0 8 0
  236. // Retrieval info: CONNECT: @byteena_a 0 0 4 0 byteena_a 0 0 4 0
  237. // Retrieval info: CONNECT: @byteena_b 0 0 4 0 byteena_b 0 0 4 0
  238. // Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
  239. // Retrieval info: CONNECT: @data_a 0 0 36 0 data_a 0 0 36 0
  240. // Retrieval info: CONNECT: @data_b 0 0 36 0 data_b 0 0 36 0
  241. // Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
  242. // Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
  243. // Retrieval info: CONNECT: q_a 0 0 36 0 @q_a 0 0 36 0
  244. // Retrieval info: CONNECT: q_b 0 0 36 0 @q_b 0 0 36 0
  245. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram.v TRUE
  246. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram.inc FALSE
  247. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram.cmp FALSE
  248. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram.bsf FALSE
  249. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram_inst.v TRUE
  250. // Retrieval info: GEN_FILE: TYPE_NORMAL abcmapram_bb.v TRUE
  251. // Retrieval info: LIB_FILE: altera_mf