ddufifo.v 7.4 KB

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