HDL CODER. i need to deal with pins of the output port one by one not as 8 bit . how i can do this ?

2 visualizzazioni (ultimi 30 giorni)
Hi . I am using simulink hdl coder . but i need to deal with pins of the output port one by one not as 8 bit . how i can do this ?

Risposta accettata

Kiran Kintali
Kiran Kintali il 5 Feb 2019
HDLCoder does support specification of which pin of the 8 bit to use to map to the DUT.
Following example demonstrates how to select different pins of the 8 bit LED and map them to several different DUT ports:

Più risposte (1)

Kiran Kintali
Kiran Kintali il 1 Feb 2019
Can you please check 'eml_hdl_design_patterns' for examples?
It has bit twiddler blocks and ideas on how bitslice and stream data from words to bits.
Thanks
  1 Commento
rabei shwehdi
rabei shwehdi il 2 Feb 2019
HI. thank you for answer .
my question actually is how to send data to pin 0 of the pmod instead to deal with the port as 8 bit .
in hdl advisor we can only select the port as an input or output , but we can not select which pin of the port we want to use . we can deal with the port as 8 bit data only.

Accedi per commentare.

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by