Skip navigation
A module is basic building block Verilog. Ports are the interface which module communicate with the environment, in other words, inputs and outputs of the module.   We can assume module as a design box and ports are inputs and outputs of that box. The design box can provide a functionality to higher levels while hiding its internal connection. The analogy reminds me libraries in programming. The following example shows the structure of the module.   module <module_name> (<por ...
I want to improve my skills on FPGA design so I decided to cover Verilog/System Verilog from scratch. I believe one of the best methods of learning is teaching, therefore, I will have a diary of my progress. Hopefully, it will help other community members too.   What I have planned to do is start from the very beginning of Verilog to go deep topics as long as I go. Not only cover the syntax of the language but also mention digital design methods I need to implement that subject and FPGA im ...
In the last post, I have mentioned the sensor board I built on Arduino. I was testing the system using the serial port and before adding many sensors, I wanted to make the board work independently. Therefore I connect MSP432 and Arduino using the serial port and send the data over WiFi module. I am using TI-RTOS on MSP432 so I add the UART driver to the previous WiFi code. The echoFxn basically echoes the serial data over WiFi. The data is read and assigned to Mymessage variable. Then task sleep ...
Embedded systems have various types of the processors which range from 8-bit family to 64-bit family, from 32 bytes to a few gigabytes of RAM and, from kilohertz clock source to a few gigahertz clock source. When the resources of the processor are increased, its cost is also increased. It may be possible to use cheaper processor by optimising the code. When optimising embedded code, the trade-off is between speed, memory and power consumption. Speed and memory are inversely proportional but powe ...