statusram.v 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. // megafunction wizard: %RAM: 2-PORT%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: altsyncram
  5. // ============================================================
  6. // File Name: statusram.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 statusram (
  36. aclr,
  37. address_a,
  38. address_b,
  39. clock,
  40. data_a,
  41. data_b,
  42. wren_a,
  43. wren_b,
  44. q_a,
  45. q_b);
  46. input aclr;
  47. input [5:0] address_a;
  48. input [5:0] address_b;
  49. input clock;
  50. input [15:0] data_a;
  51. input [15:0] data_b;
  52. input wren_a;
  53. input wren_b;
  54. output [15:0] q_a;
  55. output [15:0] q_b;
  56. `ifndef ALTERA_RESERVED_QIS
  57. // synopsys translate_off
  58. `endif
  59. tri0 aclr;
  60. tri1 clock;
  61. tri0 wren_a;
  62. tri0 wren_b;
  63. `ifndef ALTERA_RESERVED_QIS
  64. // synopsys translate_on
  65. `endif
  66. wire [15:0] sub_wire0;
  67. wire [15:0] sub_wire1;
  68. wire [15:0] q_a = sub_wire0[15:0];
  69. wire [15:0] q_b = sub_wire1[15:0];
  70. altsyncram altsyncram_component (
  71. .aclr0 (aclr),
  72. .address_a (address_a),
  73. .address_b (address_b),
  74. .clock0 (clock),
  75. .data_a (data_a),
  76. .data_b (data_b),
  77. .wren_a (wren_a),
  78. .wren_b (wren_b),
  79. .q_a (sub_wire0),
  80. .q_b (sub_wire1),
  81. .aclr1 (1'b0),
  82. .addressstall_a (1'b0),
  83. .addressstall_b (1'b0),
  84. .byteena_a (1'b1),
  85. .byteena_b (1'b1),
  86. .clock1 (1'b1),
  87. .clocken0 (1'b1),
  88. .clocken1 (1'b1),
  89. .clocken2 (1'b1),
  90. .clocken3 (1'b1),
  91. .eccstatus (),
  92. .rden_a (1'b1),
  93. .rden_b (1'b1));
  94. defparam
  95. altsyncram_component.address_reg_b = "CLOCK0",
  96. altsyncram_component.clock_enable_input_a = "BYPASS",
  97. altsyncram_component.clock_enable_input_b = "BYPASS",
  98. altsyncram_component.clock_enable_output_a = "BYPASS",
  99. altsyncram_component.clock_enable_output_b = "BYPASS",
  100. altsyncram_component.indata_reg_b = "CLOCK0",
  101. altsyncram_component.intended_device_family = "Cyclone IV E",
  102. altsyncram_component.lpm_type = "altsyncram",
  103. altsyncram_component.numwords_a = 64,
  104. altsyncram_component.numwords_b = 64,
  105. altsyncram_component.operation_mode = "BIDIR_DUAL_PORT",
  106. altsyncram_component.outdata_aclr_a = "CLEAR0",
  107. altsyncram_component.outdata_aclr_b = "CLEAR0",
  108. altsyncram_component.outdata_reg_a = "CLOCK0",
  109. altsyncram_component.outdata_reg_b = "CLOCK0",
  110. altsyncram_component.power_up_uninitialized = "FALSE",
  111. altsyncram_component.read_during_write_mode_mixed_ports = "OLD_DATA",
  112. altsyncram_component.read_during_write_mode_port_a = "OLD_DATA",
  113. altsyncram_component.read_during_write_mode_port_b = "OLD_DATA",
  114. altsyncram_component.widthad_a = 6,
  115. altsyncram_component.widthad_b = 6,
  116. altsyncram_component.width_a = 16,
  117. altsyncram_component.width_b = 16,
  118. altsyncram_component.width_byteena_a = 1,
  119. altsyncram_component.width_byteena_b = 1,
  120. altsyncram_component.wrcontrol_wraddress_reg_b = "CLOCK0";
  121. endmodule
  122. // ============================================================
  123. // CNX file retrieval info
  124. // ============================================================
  125. // Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
  126. // Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
  127. // Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
  128. // Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
  129. // Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
  130. // Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
  131. // Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
  132. // Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
  133. // Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
  134. // Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
  135. // Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
  136. // Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
  137. // Retrieval info: PRIVATE: CLRdata NUMERIC "0"
  138. // Retrieval info: PRIVATE: CLRq NUMERIC "1"
  139. // Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
  140. // Retrieval info: PRIVATE: CLRrren NUMERIC "0"
  141. // Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
  142. // Retrieval info: PRIVATE: CLRwren NUMERIC "0"
  143. // Retrieval info: PRIVATE: Clock NUMERIC "0"
  144. // Retrieval info: PRIVATE: Clock_A NUMERIC "0"
  145. // Retrieval info: PRIVATE: Clock_B NUMERIC "0"
  146. // Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
  147. // Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
  148. // Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
  149. // Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
  150. // Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
  151. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  152. // Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
  153. // Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
  154. // Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
  155. // Retrieval info: PRIVATE: MEMSIZE NUMERIC "1024"
  156. // Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
  157. // Retrieval info: PRIVATE: MIFfilename STRING ""
  158. // Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
  159. // Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "1"
  160. // Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "1"
  161. // Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
  162. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "1"
  163. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "1"
  164. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "1"
  165. // Retrieval info: PRIVATE: REGdata NUMERIC "1"
  166. // Retrieval info: PRIVATE: REGq NUMERIC "1"
  167. // Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
  168. // Retrieval info: PRIVATE: REGrren NUMERIC "0"
  169. // Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
  170. // Retrieval info: PRIVATE: REGwren NUMERIC "1"
  171. // Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
  172. // Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
  173. // Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
  174. // Retrieval info: PRIVATE: VarWidth NUMERIC "0"
  175. // Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "16"
  176. // Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "16"
  177. // Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "16"
  178. // Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "16"
  179. // Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
  180. // Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
  181. // Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
  182. // Retrieval info: PRIVATE: enable NUMERIC "0"
  183. // Retrieval info: PRIVATE: rden NUMERIC "0"
  184. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  185. // Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK0"
  186. // Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
  187. // Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
  188. // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
  189. // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
  190. // Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK0"
  191. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  192. // Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
  193. // Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "64"
  194. // Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "64"
  195. // Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
  196. // Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "CLEAR0"
  197. // Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "CLEAR0"
  198. // Retrieval info: CONSTANT: OUTDATA_REG_A STRING "CLOCK0"
  199. // Retrieval info: CONSTANT: OUTDATA_REG_B STRING "CLOCK0"
  200. // Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
  201. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_MIXED_PORTS STRING "OLD_DATA"
  202. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "OLD_DATA"
  203. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "OLD_DATA"
  204. // Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "6"
  205. // Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "6"
  206. // Retrieval info: CONSTANT: WIDTH_A NUMERIC "16"
  207. // Retrieval info: CONSTANT: WIDTH_B NUMERIC "16"
  208. // Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
  209. // Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "1"
  210. // Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK0"
  211. // Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT GND "aclr"
  212. // Retrieval info: USED_PORT: address_a 0 0 6 0 INPUT NODEFVAL "address_a[5..0]"
  213. // Retrieval info: USED_PORT: address_b 0 0 6 0 INPUT NODEFVAL "address_b[5..0]"
  214. // Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC "clock"
  215. // Retrieval info: USED_PORT: data_a 0 0 16 0 INPUT NODEFVAL "data_a[15..0]"
  216. // Retrieval info: USED_PORT: data_b 0 0 16 0 INPUT NODEFVAL "data_b[15..0]"
  217. // Retrieval info: USED_PORT: q_a 0 0 16 0 OUTPUT NODEFVAL "q_a[15..0]"
  218. // Retrieval info: USED_PORT: q_b 0 0 16 0 OUTPUT NODEFVAL "q_b[15..0]"
  219. // Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
  220. // Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
  221. // Retrieval info: CONNECT: @aclr0 0 0 0 0 aclr 0 0 0 0
  222. // Retrieval info: CONNECT: @address_a 0 0 6 0 address_a 0 0 6 0
  223. // Retrieval info: CONNECT: @address_b 0 0 6 0 address_b 0 0 6 0
  224. // Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
  225. // Retrieval info: CONNECT: @data_a 0 0 16 0 data_a 0 0 16 0
  226. // Retrieval info: CONNECT: @data_b 0 0 16 0 data_b 0 0 16 0
  227. // Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
  228. // Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
  229. // Retrieval info: CONNECT: q_a 0 0 16 0 @q_a 0 0 16 0
  230. // Retrieval info: CONNECT: q_b 0 0 16 0 @q_b 0 0 16 0
  231. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram.v TRUE
  232. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram.inc FALSE
  233. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram.cmp FALSE
  234. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram.bsf FALSE
  235. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram_inst.v TRUE
  236. // Retrieval info: GEN_FILE: TYPE_NORMAL statusram_bb.v TRUE
  237. // Retrieval info: LIB_FILE: altera_mf