core: Don't generate logic for log data when LOG_LENGTH = 0
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 11 Jul 2020 05:40:27 +0000 (15:40 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 14 Jul 2020 23:52:00 +0000 (09:52 +1000)
commit893d2bc6a24f9d1dbae374e7aa01b2abda57d140
treef79b8220fff67ac6082e7b9ea42c3ba0cf5a8fd0
parent03a3a5d326d8c79f4fd14668534571049d70eaf7
core: Don't generate logic for log data when LOG_LENGTH = 0

This adds "if LOG_LENGTH > 0 generate" to the places in the core
where log output data is latched, so that when LOG_LENGTH = 0 we
don't create the logic to collect the data which won't be stored.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
core.vhdl
cr_file.vhdl
dcache.vhdl
decode1.vhdl
decode2.vhdl
execute1.vhdl
icache.vhdl
loadstore1.vhdl
register_file.vhdl