aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSchuyler Eldridge2018-10-24 14:36:05 -0400
committerSchuyler Eldridge2018-10-24 18:58:02 -0400
commit3d3bc2fb9cf602f289852267db1f2193893bf1e7 (patch)
treebf9efdcd7e1c8fb50175686810531be07747e8a9 /scripts
parent69f9060f1439dae88146e850208148caf12bb059 (diff)
Better error message on missing BlackBox resource
This wraps interactions with a BlackBox resource file such that a FileNotFoundException are wrapped in a BlackBoxNotFoundException and rethrown. This provides a better, verbose error message to the user and avoids a FileNotFoundException showing up as an internal FIRRTL error. This adds tests that the expected exception is thrown for both BlackBoxResourceAnno and BlackBoxResourceAnno. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions