advertisement
Chapter 1: Xilinx Blockset
Reset Generator
This block is listed in the following Xilinx Blockset libraries: Basic Elements and Index.
The Reset Generator block captures the user's reset signal that is running at the system sample rate, and produces one or more downsampled reset signal(s) running at the rates specified on the block.
The downsampled reset signals are synchronized in the same way as they are during startup. The RDY output signal indicates when the downsampled resets are no longer asserted after the input reset is detected.
Block Parameters
The block parameters dialog box shown below can be invoked by double-clicking the icon in your Simulink model.
You specify the design sample rates in MATLAB vector format as shown above. Any number of outputs can be specified.
Vivado: Designing with System Generator
UG958 (v2015.4) November 18, 2015 www.xilinx.com
Send Feedback
279
Chapter 1: Xilinx Blockset
ROM
This block is listed in the following Xilinx Blockset libraries: Control Logic, Memory,
Floating-Point and Index.
The Xilinx ROM block is a single port read-only memory (ROM).
Values are stored by word and all words have the same arithmetic type, width, and binary point position. Each word is associated with exactly one address. An address can be any unsigned fixed-point integer from 0 to d-1, where d denotes the ROM depth (number of words). The memory contents are specified through a block parameter. The block has one input port for the memory address and one output port for data out. The address port must be an unsigned fixed- point integer. The block has two possible Xilinx LogiCORE™ implementations, using either distributed or block memory.
Block Parameters
The block parameters dialog box can be invoked by double-clicking the icon in your
Simulink model.
Basic tab
Parameters specific to the Basic tab are as follows:
• Depth: specifies the number of words stored; must be a positive integer.
• Initial value vector: specifies the initial value. When the vector is longer than the ROM depth, the vector's trailing elements are discarded. When the ROM is deeper than the vector length, the ROM's trailing words are set to zero. The initial value vector is saturated or rounded according to the data precision specified for the ROM.
• Memory Type: specifies block implementation to be distributed RAM or Block RAM.
• Provide reset port for output register: when selected, allows access to the reset port available on the output register of the Block ROM. The reset port is available only when the latency of the Block ROM is set to 1.
• Initial value for output register: specifies the initial value for output register. The initial value is saturated and rounded according to the data precision specified for the
ROM.
Output
• Specifies the data type of the output. Can be Boolean, Fixed-point, or Floating-point.
Arithmetic Type: If the Output Type is specified as Fixed-point, you can select Signed
(2’s comp) or Unsigned as the Arithmetic Type.
Vivado: Designing with System Generator
UG958 (v2015.4) November 18, 2015 www.xilinx.com
Send Feedback
280
Chapter 1: Xilinx Blockset
Fixed-point Precision
°
Number of bits: specifies the bit location of the binary point of the output number, where bit zero is the least significant bit.
Binary point: position of the binary point. in the fixed-point output
°
Floating-point Precision
- Single: Specifies single precision (32 bits)
- Double: Specifies double precision (64 bits)
- Custom: Activates the field below so you can specify the Exponent width and the Fraction width.
Exponent width: Specify the exponent width
°
Fraction width: Specify the fraction width
Other parameters used by this block are explained in the topic
Common Options in Block Parameter Dialog Boxes
.
LogiCORE™ Documentation
LogiCORE IP Block Memory Generator v8.2
LogiCORE IP Distributed Memory Generator v8.0
For the block memory, the address width must be equal to ceil(log2(d)) where d denotes the memory depth. The maximum width of data words in the block memory depends on the depth specified; the maximum depth is depends on the device family targeted. The tables below provide the maximum data word width for a given block memory depth.
Vivado: Designing with System Generator
UG958 (v2015.4) November 18, 2015 www.xilinx.com
Send Feedback
281
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
advertisement
Table of contents
- 9 Organization of Blockset Libraries
- 32 Common Options in Block Parameter Dialog Boxes
- 36 Block Reference Pages
- 37 Absolute
- 39 Accumulator
- 41 Addressable Shift Register
- 43 AddSub
- 45 Assert
- 48 AXI FIFO
- 51 BitBasher
- 55 Black Box
- 63 CIC Compiler
- 66 Clock Enable Probe
- 68 Clock Probe
- 69 CMult
- 72 Complex Multiplier
- 77 Concat
- 78 Constant
- 82 Convert
- 85 Convolution Encoder
- 87 CORDIC
- 93 Counter
- 96 DDS Compiler
- 105 Delay
- 110 Depuncture
- 112 Digital FIR Filter
- 116 Divide
- 118 Divider Generator
- 121 Down Sample
- 124 DSP48E
- 130 DSP48 Macro
- 135 DSP48E
- 118 UG958 (v2015.4) November
- 141 DSP48E
- 148 Dual Port RAM
- 152 Exponential
- 154 Expression
- 155 Fast Fourier Transform
- 163 FDATool
- 168 FIR Compiler
- 179 Gateway In
- 183 Gateway Out
- 187 Indeterminate Probe
- 188 Interleaver/De-interleaver
- 200 Inverter
- 203 Logical
- 204 MCode
- 227 ModelSim
- 235 MultAdd
- 239 Natural Logarithm
- 240 Negate
- 242 Opmode
- 253 Parallel to Serial
- 254 Product
- 255 Puncture
- 257 Reciprocal
- 258 Reciprocal SquareRoot
- 260 Reed-Solomon Decoder
- 267 Reed-Solomon Encoder
- 273 Register
- 274 Reinterpret
- 276 Relational
- 277 Requantize
- 279 Reset Generator
- 282 Sample Time
- 283 Scale
- 284 Serial to Parallel
- 285 Shift
- 279 UG958 (v2015.4) November
- 286 Sine Wave
- 290 Single Port RAM
- 293 Single-Step Simulation
- 294 Slice
- 296 SquareRoot
- 298 System Generator
- 304 Threshold
- 305 Time Division Demultiplexer
- 307 Time Division Multiplexer
- 308 Toolbar
- 311 Up Sample
- 313 Vivado HLS
- 316 Viterbi Decoder
- 325 2 Channel Decimate by 2 MAC FIR Filter
- 327 2n+1-tap Linear Phase MAC FIR Filter
- 328 2n-tap Linear Phase MAC FIR Filter
- 329 2n-tap MAC FIR Filter
- 330 4-channel 8-tap Transpose FIR Filter
- 331 4n-tap MAC FIR Filter
- 332 5x5Filter
- 334 BPSK AWGN Channel
- 336 CIC Filter
- 338 Convolutional Encoder
- 340 CORDIC ATAN
- 342 CORDIC DIVIDER
- 344 CORDIC LOG
- 346 CORDIC SINCOS
- 348 CORDIC SQRT
- 350 Dual Port Memory Interpolation MAC FIR Filter
- 351 Interpolation Filter
- 352 m-channel n-tap Transpose FIR Filter
- 353 Mealy State Machine
- 356 Moore State Machine
- 360 n-tap Dual Port Memory MAC FIR Filter
- 361 n-tap MAC FIR Filter
- 362 Registered Mealy State Machine
- 365 Registered Moore State Machine
- 368 Virtex Line Buffer
- 360 UG958 (v2015.4) November
- 369 Virtex2 Line Buffer
- 370 Virtex2 5 Line Buffer
- 371 White Gaussian Noise Generator
- 374 xilinx.analyzer
- 385 xilinx.utilities.importBD
- 385 xlAddTerms
- 389 xlConfigureSolver
- 390 xlfda_denominator
- 391 xlfda_numerator
- 392 xlGenerateButton
- 393 xlgetparam and xlsetparam
- 395 xlgetparams
- 397 xlGetReOrderedCoeff
- 399 xlOpenWaveFormData
- 400 xlSetUseHDL
- 401 xlTBUtils
- 405 System Generator API for Programmatic Generation
- 412 PG API Examples
- 418 PG API Error/Warning Handling & Messages
- 420 M-Code Access to Hardware Co-Simulation
- 432 Xilinx Resources
- 432 Solution Centers
- 432 References
- 433 Training Resources
- 434 Please Read: Important Legal Notices
- 432 UG958 (v2015.4) November