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 次查看(过去 30 天)
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 ?

采纳的回答

Kiran Kintali
Kiran Kintali 2019-2-5
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:

更多回答(1 个)

Kiran Kintali
Kiran Kintali 2019-2-1
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 个评论
rabei shwehdi
rabei shwehdi 2019-2-2
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by