2
0

ddufifo.v 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. // megafunction wizard: %FIFO%
  2. // GENERATION: STANDARD
  3. // VERSION: WM1.0
  4. // MODULE: dcfifo_mixed_widths
  5. // ============================================================
  6. // File Name: ddufifo.v
  7. // Megafunction Name(s):
  8. // dcfifo_mixed_widths
  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 ddufifo (
  36. aclr,
  37. data,
  38. rdclk,
  39. rdreq,
  40. wrclk,
  41. wrreq,
  42. q,
  43. rdempty,
  44. rdusedw,
  45. wrfull,
  46. wrusedw);
  47. input aclr;
  48. input [1:0] data;
  49. input rdclk;
  50. input rdreq;
  51. input wrclk;
  52. input wrreq;
  53. output [15:0] q;
  54. output rdempty;
  55. output [8:0] rdusedw;
  56. output wrfull;
  57. output [11:0] wrusedw;
  58. `ifndef ALTERA_RESERVED_QIS
  59. // synopsys translate_off
  60. `endif
  61. tri0 aclr;
  62. `ifndef ALTERA_RESERVED_QIS
  63. // synopsys translate_on
  64. `endif
  65. wire [15:0] sub_wire0;
  66. wire sub_wire1;
  67. wire [8:0] sub_wire2;
  68. wire sub_wire3;
  69. wire [11:0] sub_wire4;
  70. wire [15:0] q = sub_wire0[15:0];
  71. wire rdempty = sub_wire1;
  72. wire [8:0] rdusedw = sub_wire2[8:0];
  73. wire wrfull = sub_wire3;
  74. wire [11:0] wrusedw = sub_wire4[11:0];
  75. dcfifo_mixed_widths dcfifo_mixed_widths_component (
  76. .aclr (aclr),
  77. .data (data),
  78. .rdclk (rdclk),
  79. .rdreq (rdreq),
  80. .wrclk (wrclk),
  81. .wrreq (wrreq),
  82. .q (sub_wire0),
  83. .rdempty (sub_wire1),
  84. .rdusedw (sub_wire2),
  85. .wrfull (sub_wire3),
  86. .wrusedw (sub_wire4),
  87. .eccstatus (),
  88. .rdfull (),
  89. .wrempty ());
  90. defparam
  91. dcfifo_mixed_widths_component.intended_device_family = "Cyclone IV E",
  92. dcfifo_mixed_widths_component.lpm_numwords = 4096,
  93. dcfifo_mixed_widths_component.lpm_showahead = "OFF",
  94. dcfifo_mixed_widths_component.lpm_type = "dcfifo_mixed_widths",
  95. dcfifo_mixed_widths_component.lpm_width = 2,
  96. dcfifo_mixed_widths_component.lpm_widthu = 12,
  97. dcfifo_mixed_widths_component.lpm_widthu_r = 9,
  98. dcfifo_mixed_widths_component.lpm_width_r = 16,
  99. dcfifo_mixed_widths_component.overflow_checking = "ON",
  100. dcfifo_mixed_widths_component.rdsync_delaypipe = 4,
  101. dcfifo_mixed_widths_component.read_aclr_synch = "OFF",
  102. dcfifo_mixed_widths_component.underflow_checking = "ON",
  103. dcfifo_mixed_widths_component.use_eab = "ON",
  104. dcfifo_mixed_widths_component.write_aclr_synch = "OFF",
  105. dcfifo_mixed_widths_component.wrsync_delaypipe = 4;
  106. endmodule
  107. // ============================================================
  108. // CNX file retrieval info
  109. // ============================================================
  110. // Retrieval info: PRIVATE: AlmostEmpty NUMERIC "0"
  111. // Retrieval info: PRIVATE: AlmostEmptyThr NUMERIC "-1"
  112. // Retrieval info: PRIVATE: AlmostFull NUMERIC "0"
  113. // Retrieval info: PRIVATE: AlmostFullThr NUMERIC "-1"
  114. // Retrieval info: PRIVATE: CLOCKS_ARE_SYNCHRONIZED NUMERIC "0"
  115. // Retrieval info: PRIVATE: Clock NUMERIC "4"
  116. // Retrieval info: PRIVATE: Depth NUMERIC "4096"
  117. // Retrieval info: PRIVATE: Empty NUMERIC "1"
  118. // Retrieval info: PRIVATE: Full NUMERIC "1"
  119. // Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  120. // Retrieval info: PRIVATE: LE_BasedFIFO NUMERIC "0"
  121. // Retrieval info: PRIVATE: LegacyRREQ NUMERIC "1"
  122. // Retrieval info: PRIVATE: MAX_DEPTH_BY_9 NUMERIC "0"
  123. // Retrieval info: PRIVATE: OVERFLOW_CHECKING NUMERIC "0"
  124. // Retrieval info: PRIVATE: Optimize NUMERIC "0"
  125. // Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
  126. // Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
  127. // Retrieval info: PRIVATE: UNDERFLOW_CHECKING NUMERIC "0"
  128. // Retrieval info: PRIVATE: UsedW NUMERIC "1"
  129. // Retrieval info: PRIVATE: Width NUMERIC "2"
  130. // Retrieval info: PRIVATE: dc_aclr NUMERIC "1"
  131. // Retrieval info: PRIVATE: diff_widths NUMERIC "1"
  132. // Retrieval info: PRIVATE: msb_usedw NUMERIC "0"
  133. // Retrieval info: PRIVATE: output_width NUMERIC "16"
  134. // Retrieval info: PRIVATE: rsEmpty NUMERIC "1"
  135. // Retrieval info: PRIVATE: rsFull NUMERIC "0"
  136. // Retrieval info: PRIVATE: rsUsedW NUMERIC "1"
  137. // Retrieval info: PRIVATE: sc_aclr NUMERIC "0"
  138. // Retrieval info: PRIVATE: sc_sclr NUMERIC "0"
  139. // Retrieval info: PRIVATE: wsEmpty NUMERIC "0"
  140. // Retrieval info: PRIVATE: wsFull NUMERIC "1"
  141. // Retrieval info: PRIVATE: wsUsedW NUMERIC "1"
  142. // Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
  143. // Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone IV E"
  144. // Retrieval info: CONSTANT: LPM_NUMWORDS NUMERIC "4096"
  145. // Retrieval info: CONSTANT: LPM_SHOWAHEAD STRING "OFF"
  146. // Retrieval info: CONSTANT: LPM_TYPE STRING "dcfifo_mixed_widths"
  147. // Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "2"
  148. // Retrieval info: CONSTANT: LPM_WIDTHU NUMERIC "12"
  149. // Retrieval info: CONSTANT: LPM_WIDTHU_R NUMERIC "9"
  150. // Retrieval info: CONSTANT: LPM_WIDTH_R NUMERIC "16"
  151. // Retrieval info: CONSTANT: OVERFLOW_CHECKING STRING "ON"
  152. // Retrieval info: CONSTANT: RDSYNC_DELAYPIPE NUMERIC "4"
  153. // Retrieval info: CONSTANT: READ_ACLR_SYNCH STRING "OFF"
  154. // Retrieval info: CONSTANT: UNDERFLOW_CHECKING STRING "ON"
  155. // Retrieval info: CONSTANT: USE_EAB STRING "ON"
  156. // Retrieval info: CONSTANT: WRITE_ACLR_SYNCH STRING "OFF"
  157. // Retrieval info: CONSTANT: WRSYNC_DELAYPIPE NUMERIC "4"
  158. // Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT GND "aclr"
  159. // Retrieval info: USED_PORT: data 0 0 2 0 INPUT NODEFVAL "data[1..0]"
  160. // Retrieval info: USED_PORT: q 0 0 16 0 OUTPUT NODEFVAL "q[15..0]"
  161. // Retrieval info: USED_PORT: rdclk 0 0 0 0 INPUT NODEFVAL "rdclk"
  162. // Retrieval info: USED_PORT: rdempty 0 0 0 0 OUTPUT NODEFVAL "rdempty"
  163. // Retrieval info: USED_PORT: rdreq 0 0 0 0 INPUT NODEFVAL "rdreq"
  164. // Retrieval info: USED_PORT: rdusedw 0 0 9 0 OUTPUT NODEFVAL "rdusedw[8..0]"
  165. // Retrieval info: USED_PORT: wrclk 0 0 0 0 INPUT NODEFVAL "wrclk"
  166. // Retrieval info: USED_PORT: wrfull 0 0 0 0 OUTPUT NODEFVAL "wrfull"
  167. // Retrieval info: USED_PORT: wrreq 0 0 0 0 INPUT NODEFVAL "wrreq"
  168. // Retrieval info: USED_PORT: wrusedw 0 0 12 0 OUTPUT NODEFVAL "wrusedw[11..0]"
  169. // Retrieval info: CONNECT: @aclr 0 0 0 0 aclr 0 0 0 0
  170. // Retrieval info: CONNECT: @data 0 0 2 0 data 0 0 2 0
  171. // Retrieval info: CONNECT: @rdclk 0 0 0 0 rdclk 0 0 0 0
  172. // Retrieval info: CONNECT: @rdreq 0 0 0 0 rdreq 0 0 0 0
  173. // Retrieval info: CONNECT: @wrclk 0 0 0 0 wrclk 0 0 0 0
  174. // Retrieval info: CONNECT: @wrreq 0 0 0 0 wrreq 0 0 0 0
  175. // Retrieval info: CONNECT: q 0 0 16 0 @q 0 0 16 0
  176. // Retrieval info: CONNECT: rdempty 0 0 0 0 @rdempty 0 0 0 0
  177. // Retrieval info: CONNECT: rdusedw 0 0 9 0 @rdusedw 0 0 9 0
  178. // Retrieval info: CONNECT: wrfull 0 0 0 0 @wrfull 0 0 0 0
  179. // Retrieval info: CONNECT: wrusedw 0 0 12 0 @wrusedw 0 0 12 0
  180. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo.v TRUE
  181. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo.inc FALSE
  182. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo.cmp FALSE
  183. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo.bsf FALSE
  184. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo_inst.v TRUE
  185. // Retrieval info: GEN_FILE: TYPE_NORMAL ddufifo_bb.v TRUE
  186. // Retrieval info: LIB_FILE: altera_mf