simulation in Psoc creator

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

cross mob
Anonymous
Not applicable

Is it possible to simulate the design and view the simulation results in PsoC creator?

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

No, you cannot.

   

But even better, you may connect a MiniProg3 to the SWD-pins and get a life debugger with brekpoints, variables inspection / settings and so on. Refer to http://www.cypress.com/?rID=55104 or the help within Creator.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you are trying to simulate analog unfortunately no spice models

   

available yet.

   

 

   

If digital, and you are working in Verilog, no shortage of simulators

   

in the market, the FPGA guys have software to do so, and 3'rd

   

party like ICARUS or ModelSim.

   

 

   

A thread on this topic - http://www.cypress.com/?app=forum&id=2492&rID=51223

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

One other thought, if your interest is spice simulation of analog,

   

manufacturers spice models not always complete. For example

   

in R-R input amps many spice models do not handle the crossover

   

distortion present in the input structure of R-R architectures switching

   

between N and P transistors.

   

 

   

So in short the simulation would be incomplete for worst case, and

   

especially in designs where you are trying to do high res analog error

   

analysis.

   

 

   

Regards, Dana.

0 Likes
VlYe_281166
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

 I think it may be usefull for PSoC designers to consult with the Proteus (www.labcenter.co.uk) designers in order for future collaboration. IMHO the Proteus SW is the most ready for PSoC simulation.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

The key to collaboration here would be Cypress as there are no SPICE

   

models available as of yet for any PSOC family. So simulating in spice for Proteus

   

would be just the external stuff, which for PSOC would be almost pointless

   

because most PSOC designs use primariliy the onboard analog, the very point

   

of using a PSOC.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Do I get that right that it's possible to simulate Verilog but it's not possible to simulate/view with Debugger the Timing/signals of digital components like PWM, timers and so on?

   

thank you

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

No, that is not right. You cannot simulate / view verilog. Since the complete PSoC hardware runs verilog-generated none of the real hardware can be viewed or debugged. It even does keep running when a breakpoint in software halts execution.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

There are a number of simulators, not Cypress, you can sim your Verilog code in,

   

and the basic tools are free, the FPGA guys one source.

   

 

   

Just google "verilog simulator freeware"

   

 

   

Regards, dana.

0 Likes
Anonymous
Not applicable

I'd like to see the Timing of my timers and their signals (TC,Trigger, Reset, CLK).

   

But as I understand this is not possible. Like you are able to do this for example with ModelSIM or another FPGA Simulator.

0 Likes
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

Here's a thread that discusses simulating PSoC UDBs in ModelSim:

   

http://www.cypress.com/?app=forum&id=2492&rID=83214

0 Likes