Verilog Modules | Cypress Semiconductor
I'm working on a project for my 582 class and I'm trying to explore the PLD capabilities on the PSoC. I'm trying to create my own modules described in verilog to implement pieces of hardware in my project just to speed the things up. Anyway, my question is how do I implement more than one verilog file to my module?
So I know that I have to create a new module under Components, and then create the .v file. However, I need to use more modules inside of such .v file, but I haven't find the way to create more .v files and add them to the library.
What I'm trying to say, is that suppose that I create a new module called MyComponent that I will drag and drop eventually to my TopDesign, then I create the .v file for my MyComponent, how do I create new modules inside of that .v file, or how do I add more .v files to the directory in order to use modules that are described in other files.
That's something very common in verilog, right? To create a bunch of modules that will do little things and then create a TopModule, so I suppose that there is a way to do it in PSoC Creator 2.1 but I just haven't find it.