Datasheet
60 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
System-Level Editor
3.1 System-Level Editor Overview
The System-Level Editor gives you the ability to rapidly create a project in a visual design environ-
ment that represents the way you think about the design: Inputs, Outputs, Logic, and Communica-
tion. These are represented in PSoC Designer’s Express interface as Inputs, Outputs, Valuators,
and Interfaces.
1. Create a Project
Your first step is to create a new project in PSoC Designer. To make an Express design, you will
choose the System-Level Editor Project. This will create a blank workspace that you can use to
create your design.
2. Create Your Design
Your first step is to select the various types of inputs and outputs you want your design to have.
Then you will add a communication interface so that this design can communicate with other
parts of your design or with a PC host. Then you will design the logic functions that respond to
inputs and trigger outputs. This can be done with state machines, table lookups, and other logic
functions.
3. Simulate Your Design
Once you have modeled your logic, you can switch to the simulation view and simulate system
inputs and watch the system respond with modeled outputs. You can switch back and forth
between the design and simulation views to fine tune your logic.
4. Select a Configuration
When you begin the build process, PSoC Designer will recommend one or more PSoC devices
that is capable of running your system. You choose one of the available devices
5. Assign Pins
If your project requires special routing (for example, if part of your board layout is already
designed or you need to route digital communication away from sensitive analog measurements)
you can manually assign inputs and outputs to pins. Or you can allow PSoC Designer to assign
pins for you.
6. Generate Output
When you choose to generate your design, PSoC Designer completely and correctly generates
all embedded code, then compiles and links it into a programming file for a specific PSoC device.
7. Program Your Device
PSoC Desinger will create a bill of materials (BOM) required for your design. You can then create
your test board and use PSoC Programmer to download your firmware to the target device.
8. Monitor Your Design
You can use the communication protocols that you built into your design, such as USB or I
2
C, to
monitor your design in PSoC Designer. The monitor interface is very similar to the simulation
interface except it monitors actual device performance in real time.
Your design is now complete. If you want to look under the hood at how PSoC Designer used the
onboard resources, change the routing, or tweak the code in the debugger, you can switch to the
Interconnect View and PSoC Designer’s powerful Chip-Level Editor. The remainder of this chapter is
organized just like the above outline with additional details on each of the steps.