Hi All, I am trying to understand how to use the picoblaze soft-core. I have a verilog program that uses a counter and stops at a predicted value ( positive or negative). The value of this counter I would like to display on the LCD display of my SPARTAN 3AN. Is there a more simple way to do this than the picoblaze route ? If picoblaze is the best way to go, can someone please explain to me, step-by-step, how I would change the picpblaze code to display the value of the register. Please note that the 32'bit register value can be either presented as a negative value or positive decimal value. Thanks!
picoblaze q's
Started by ●January 25, 2009
Reply by ●January 26, 20092009-01-26
Hi, for such an application as controlling a display, a programmable solution like using a picoblaze is much more flexible than designing a dedicated FSM. There is an application note (at least for the Spartan 3E Starter Kit) that should work for you. Give it a try first. When it works continue like this: Expand the design with four Input ports to read in your counter value Write an assembler routine that converts your binary value to the code representation needed by the display ( maybe ASCII). Change the existing code to read in the ports and call your converting routine at a certain time. (Maybe your counter has a Ripple Output or EndCount Signal that you can feed to the Interrupt input of the picoblaze.) Have a nice synthesis Eilert uraniumore238@gmail.com schrieb:> Hi All, > > I am trying to understand how to use the picoblaze soft-core. I have a > verilog program that uses a counter and stops at a predicted value > ( positive or negative). The value of this counter I would like to > display on the LCD display of my SPARTAN 3AN. Is there a more simple > way to do this than the picoblaze route ? If picoblaze is the best way > to go, can someone please explain to me, step-by-step, how I would > change the picpblaze code to display the value of the register. Please > note that the 32'bit register value can be either presented as a > negative value or positive decimal value. > > Thanks!
Reply by ●February 3, 20092009-02-03
On Jan 25, 11:07=A0pm, backhus <n...@nirgends.xyz> wrote:> Hi, > for such an application as controlling a display, a programmable > solution like using a picoblaze is much more flexible than designing a > dedicated FSM. > There is an application note (at least for the Spartan 3E Starter Kit) > that should work for you. Give it a try first. > > When it works continue like this: > > Expand the design with four Input ports to read in your counter value > > Write an assembler routine that converts your binary value to the code > representation needed by the display ( maybe ASCII). > > Change the existing code to read in the ports and call your converting > routine at a certain time. (Maybe your counter has a Ripple Output or > EndCount Signal that you can feed to the Interrupt input of the picoblaze=.)> > Have a nice synthesis > =A0 =A0Eilert > > uraniumore...@gmail.com schrieb: > > > > > Hi All, > > > I am trying to understand how to use the picoblaze soft-core. I have a > > verilog program that uses a counter and stops at a predicted value > > ( positive or negative). The value of this counter I would like to > > display on the LCD display of my SPARTAN 3AN. Is there a more simple > > way to do this than the picoblaze route ? If picoblaze is the best way > > to go, can someone please explain to me, step-by-step, how I would > > change the picpblaze code to display the value of the register. Please > > note that the 32'bit register value can be either presented as a > > negative value or positive decimal value. > > > Thanks!- Hide quoted text - > > - Show quoted text -Okay, the design works. Expand which design ? Do you mean my .psm or the the verilog file that instantiates the picoblaze?