fastmem_ip.v 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. // megafunction wizard: %RAM: 1-PORT%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: altsyncram
  5. // ============================================================
  6. // File Name: fastmem_ip.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 fastmem_ip (
  36. aclr,
  37. address,
  38. byteena,
  39. clock,
  40. data,
  41. rden,
  42. wren,
  43. q);
  44. input aclr;
  45. input [12:0] address;
  46. input [3:0] byteena;
  47. input clock;
  48. input [31:0] data;
  49. input rden;
  50. input wren;
  51. output [31:0] q;
  52. `ifndef ALTERA_RESERVED_QIS
  53. // synopsys translate_off
  54. `endif
  55. tri0 aclr;
  56. tri1 [3:0] byteena;
  57. tri1 clock;
  58. tri1 rden;
  59. `ifndef ALTERA_RESERVED_QIS
  60. // synopsys translate_on
  61. `endif
  62. wire [31:0] sub_wire0;
  63. wire [31:0] q = sub_wire0[31:0];
  64. altsyncram altsyncram_component (
  65. .aclr0 (aclr),
  66. .address_a (address),
  67. .byteena_a (byteena),
  68. .clock0 (clock),
  69. .data_a (data),
  70. .rden_a (rden),
  71. .wren_a (wren),
  72. .q_a (sub_wire0),
  73. .aclr1 (1'b0),
  74. .address_b (1'b1),
  75. .addressstall_a (1'b0),
  76. .addressstall_b (1'b0),
  77. .byteena_b (1'b1),
  78. .clock1 (1'b1),
  79. .clocken0 (1'b1),
  80. .clocken1 (1'b1),
  81. .clocken2 (1'b1),
  82. .clocken3 (1'b1),
  83. .data_b (1'b1),
  84. .eccstatus (),
  85. .q_b (),
  86. .rden_b (1'b1),
  87. .wren_b (1'b0));
  88. defparam
  89. altsyncram_component.byte_size = 8,
  90. altsyncram_component.clock_enable_input_a = "BYPASS",
  91. altsyncram_component.clock_enable_output_a = "BYPASS",
  92. altsyncram_component.init_file = "../fw/boot.mif",
  93. altsyncram_component.intended_device_family = "Cyclone IV E",
  94. altsyncram_component.lpm_hint = "ENABLE_RUNTIME_MOD=NO",
  95. altsyncram_component.lpm_type = "altsyncram",
  96. altsyncram_component.numwords_a = 8192,
  97. altsyncram_component.operation_mode = "SINGLE_PORT",
  98. altsyncram_component.outdata_aclr_a = "CLEAR0",
  99. altsyncram_component.outdata_reg_a = "UNREGISTERED",
  100. altsyncram_component.power_up_uninitialized = "FALSE",
  101. altsyncram_component.read_during_write_mode_port_a = "DONT_CARE",
  102. altsyncram_component.widthad_a = 13,
  103. altsyncram_component.width_a = 32,
  104. altsyncram_component.width_byteena_a = 4;
  105. endmodule
  106. // ============================================================
  107. // CNX file retrieval info
  108. // ============================================================
  109. // Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
  110. // Retrieval info: PRIVATE: AclrAddr NUMERIC "0"
  111. // Retrieval info: PRIVATE: AclrByte NUMERIC "0"
  112. // Retrieval info: PRIVATE: AclrData NUMERIC "0"
  113. // Retrieval info: PRIVATE: AclrOutput NUMERIC "1"
  114. // Retrieval info: PRIVATE: BYTE_ENABLE NUMERIC "1"
  115. // Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
  116. // Retrieval info: PRIVATE: BlankMemory NUMERIC "0"
  117. // Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
  118. // Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
  119. // Retrieval info: PRIVATE: Clken NUMERIC "0"
  120. // Retrieval info: PRIVATE: DataBusSeparated NUMERIC "1"
  121. // Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
  122. // Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
  123. // Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
  124. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  125. // Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
  126. // Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
  127. // Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
  128. // Retrieval info: PRIVATE: MIFfilename STRING "../fw/boot.mif"
  129. // Retrieval info: PRIVATE: NUMWORDS_A NUMERIC "8192"
  130. // Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
  131. // Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "2"
  132. // Retrieval info: PRIVATE: RegAddr NUMERIC "1"
  133. // Retrieval info: PRIVATE: RegData NUMERIC "1"
  134. // Retrieval info: PRIVATE: RegOutput NUMERIC "0"
  135. // Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
  136. // Retrieval info: PRIVATE: SingleClock NUMERIC "1"
  137. // Retrieval info: PRIVATE: UseDQRAM NUMERIC "1"
  138. // Retrieval info: PRIVATE: WRCONTROL_ACLR_A NUMERIC "0"
  139. // Retrieval info: PRIVATE: WidthAddr NUMERIC "13"
  140. // Retrieval info: PRIVATE: WidthData NUMERIC "32"
  141. // Retrieval info: PRIVATE: rden NUMERIC "1"
  142. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  143. // Retrieval info: CONSTANT: BYTE_SIZE NUMERIC "8"
  144. // Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
  145. // Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
  146. // Retrieval info: CONSTANT: INIT_FILE STRING "../fw/boot.mif"
  147. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  148. // Retrieval info: CONSTANT: LPM_HINT STRING "ENABLE_RUNTIME_MOD=NO"
  149. // Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
  150. // Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "8192"
  151. // Retrieval info: CONSTANT: OPERATION_MODE STRING "SINGLE_PORT"
  152. // Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "CLEAR0"
  153. // Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
  154. // Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
  155. // Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "DONT_CARE"
  156. // Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "13"
  157. // Retrieval info: CONSTANT: WIDTH_A NUMERIC "32"
  158. // Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "4"
  159. // Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT GND "aclr"
  160. // Retrieval info: USED_PORT: address 0 0 13 0 INPUT NODEFVAL "address[12..0]"
  161. // Retrieval info: USED_PORT: byteena 0 0 4 0 INPUT VCC "byteena[3..0]"
  162. // Retrieval info: USED_PORT: clock 0 0 0 0 INPUT VCC "clock"
  163. // Retrieval info: USED_PORT: data 0 0 32 0 INPUT NODEFVAL "data[31..0]"
  164. // Retrieval info: USED_PORT: q 0 0 32 0 OUTPUT NODEFVAL "q[31..0]"
  165. // Retrieval info: USED_PORT: rden 0 0 0 0 INPUT VCC "rden"
  166. // Retrieval info: USED_PORT: wren 0 0 0 0 INPUT NODEFVAL "wren"
  167. // Retrieval info: CONNECT: @aclr0 0 0 0 0 aclr 0 0 0 0
  168. // Retrieval info: CONNECT: @address_a 0 0 13 0 address 0 0 13 0
  169. // Retrieval info: CONNECT: @byteena_a 0 0 4 0 byteena 0 0 4 0
  170. // Retrieval info: CONNECT: @clock0 0 0 0 0 clock 0 0 0 0
  171. // Retrieval info: CONNECT: @data_a 0 0 32 0 data 0 0 32 0
  172. // Retrieval info: CONNECT: @rden_a 0 0 0 0 rden 0 0 0 0
  173. // Retrieval info: CONNECT: @wren_a 0 0 0 0 wren 0 0 0 0
  174. // Retrieval info: CONNECT: q 0 0 32 0 @q_a 0 0 32 0
  175. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip.v TRUE
  176. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip.inc FALSE
  177. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip.cmp FALSE
  178. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip.bsf FALSE
  179. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip_inst.v TRUE
  180. // Retrieval info: GEN_FILE: TYPE_NORMAL fastmem_ip_bb.v TRUE
  181. // Retrieval info: LIB_FILE: altera_mf