![]() |
Simple ALU Implementation
Hi guys,
I have to implement a simple ALU of a 32bit mips..I have already implemented many submodules (adder,multipliers,shifter...) ,that I have to instantiate in the top level module "ALU_TOP". This module receives as input 2 op. (a , b) and a 6bit signal OPCODE on which basis the differents modules are instantiates. My problem is checking the signal OPCODE directly in the architecture (not in a process , and after begin of arch.). I used that solution because using a process returned me errors reusing the components (and portamaps...) But now I cannot even check the OPCODE ("If not allowed..")..(I double checked parenthesis or typos..)... what should I do? Do I have to use a process? But how to use different modules within a process? I paste the simple part of the code .. and this not work.. Code:
library IEEE;Thanks in advance |
| All times are GMT. The time now is 03:00 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.