Path: EDN Asia >> Design Centre >> IC/Board/Systems Design >> Creating a low-cost logic design trainer
IC/Board/Systems Design Share print

Creating a low-cost logic design trainer

26 Mar 2015  | Rahul Raj Sharma

Share this page with your friends

When I was an engineering student, I was fascinated by subjects such as analogue electronics, logic design, microcontrollers etc. I loved the time I spent in my college laboratories, but unfortunately I didn't have any way to use the lab setup at my home for my personal experiments.

I always wanted something for my personal use that was affordable for me as a student. I needed something with the flexibility to repeat my lab experiments and also give me an opportunity to test my own designs and learn.

The most basic lab an engineering student does is logic design. This lab consists of the 74xx series of chips to test behaviour of basic logic gates such as AND, OR, XOR, etc. and more complex digital combinational and sequential logic.

A college lab usually has a large setup to connect multiple 74xx series of ICs and wires to connect, implement, and test the desired logic circuit. Another way is to use breadboards and 74xx series ICs to implement and test digital logic functions. In order to repeat these labs and to try your custom digital logic, a student needs to have multiple 74xx family of ICs.

Today, students have access to low-cost processors integrated with programmable logic. For example purposes, I will use the PSoC family from Cypress, which integrates PLDs that can be programmed using the PSoC Creator IDE, available free from the Cypress website. The tool allows the user to drag and drop logic gate symbols, connect them using wires and implement the functions you want, writing a single line of code.

For example, in the given TopDesign, we get 5 outputs from 2 inputs 'A' and 'B'.


Figure 1: TopDesign in PSoC Creator.


When the TopDesign is programmed into a PSoC, it uses internal PLDs or UDBs to implement the logic in hardware. All the connections drawn in TopDesign are automatically generated for the processor.

Users can implement sequential digital logic such as counters and parallel-to-serial converters by dragging and dropping the required components, then wiring them up in the TopDesign. User can even write Verilog code and implement custom digital logic.


Figure 2: Implementing a counter.


Now, the same setup can be used to learn embedded programming for industry standard microprocessors such as the 8051, Cortex-M0 and Cortex-M3. Because the tool generates all the APIs required by any components that are used, the programmer doesn't have to go through the technical documents like datasheets and technical reference manuals. Rather, the various parameters of a component are selected in the Configuration window.


Figure 3: Configuration window of GPIO.



1 • 2 • 3 Next Page Last Page


Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.


Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming


News | Products | Design Features | Regional Roundup | Tech Impact