Get byte from ALU Datapath?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi.

   

How can I send byte, using ALU, from A0 register outside UDB, for example to wire it to LEDs? I was trying few things but no one of them worked.

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Have a look into the Component Author Guide (Start->Cypress->PSoC Creator 3.3->Component Development Kit->)

   

In the chapter 6.4 Complete the .h file you find the names you need to use for the accessible registers of the UDB.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Ok, thx. I didn't saw this earlier, but...

   

Is there any way to get these bits only in hardware way, using Datapath Outputs?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Use verilog and specify the bits as output of the component might work, I'm not quite fit in UDB programming...

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Ok. I;m stupid 😜 I've found option in ALU Outputs named - Shift Out (Left), and this is what I needed 😉

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Great!

   

 

   

Happy Coding

   

Bob

0 Likes