verilator: improve verilator support in cores

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>