Community
cancel
Showing results for 
Search instead for 
Did you mean: 

DSPBA Basics

DSPBA Basics

 

Download Template: Media:DSPBA_design_template.mdl

Download Setup Script: Media:Setup_DSPBA_design_template.m‎

Model Top Level

The top level of the Model consists of

  • Simulink test-bench - that is blocks to provide inputs, and to analyse inputs and outputs
  • Required DSPBA top level parameterization blocks: Signals (bus clock specification, system clock specification) & Control (RTL output directory, top level threshold parameters)
  • Links to open post-generation tools: Run Modelsim (open ModelSim to run generated RTL testbench and compare against Simulink at the synthesizable system level), Run Quartus (open the generated RTL project in Quartus to do a full Quartus compile)
  • Other blocks, such as: Run All Testbenches - a UI for the scripts to control run system-level and ModelIP and primitive subsystem level Automatic Test Benches (ATBs), optional short-cuts to edit parameterization files that run on model start-up and/or pre- or post-simulation


https://www.intel.com/content/dam/altera-www/global/en_US/uploads/c/c5/DSPBAModelTopLevel.PNG [ DSPBAModelTopLevel.PNG - click to view image ]


Synthesizable System Top Level

The part of the design to be synthesized is separated hierarchically. What will form the top level of the synthesizable part is indicated by a Device block, which sets which family, part, speed grade etc to target.

This level can consist of further level of hierarchies that include 'Primitive Subsystems' - scheduled domains for ModelPrim blocks (alternatively referred to as 'primitive' blocks; the low-level blocks such as delays, mults, adds) - and ModelIP Blocks - the standalone macro functions (NCO, FIR, CIC)

Optionally further LocalThreshold blocks can be included to override threshold settings defined higher up the hierarchy


https://www.intel.com/content/dam/altera-www/global/en_US/uploads/7/7e/DSPBASynthesizableLevel.PNG [ DSPBASynthesizableLevel.PNG - click to view image ]


Primitive Subsystem Top Level

Primitive Subsystems are scheduled domains for the ModelPrim ('primitive') blocks. A SynthesisInfo block is required with synthesis style set to 'Scheduled' (allowing the tool to pipeline and redistribute memories optimally to acheive the desired clock frequency). Boundary blocks that delimit the primitive subsystem are also required: ChannelIn (Channelized Input), ChannelOut (Channelized Output), GPIn (General Purpose Input) and GPOut (General Purpose Output). Within these boundary blocks the tool will optimize the implementation specified by the schematic - including the insertion of pipelining registers required to achieve the specified system clock rate. When inserting pipelining registers, equivalent latency has to be added to parallel signals that are required to be kept synchronous so that they are scheduled together. Signals that go through the same input boundary block (ChannelIn or GPIn) are scheduled to start at the same point in time; Signals that go through the same output boundary block (ChannelOut or GPOut) are scheduled to finish at the same point in time. Any pipelining latency added to achieve Fmax is then added in balanced 'cuts' through the signals across the design. The correction to the simulation to account for this latency added in HDL generation is applied at the boundary blocks, such that the Primitive Subsystem as a whole will remain cycle accurate.

Note that further levels of hierarchy can be defined within primitive subsystems containing primitive blocks - (but no primitive boundary blocks or ModelIP blocks)


https://fpgawiki.intel.com/uploads/0/06/DSPBAPrimitiveLevel.PNG [ DSPBAPrimitiveLevel.PNG - click to view image ]


Media:DSPBAHierarchyLarge.PNG is a full sized version of the above pictures showing the hierarchical relationships. 

Version history
Revision #:
1 of 1
Last update:
‎06-25-2019 09:05 PM
Updated by:
 
Contributors