Open rswarbrick opened 3 years ago
Hi I'm new to open source. I would like to try and understand this issue and see if I can help. I'm currently reading OpenTitan Docs and setting up the Environment.
I just wrapped up a 6 month internship in EDA domain where I worked in functional verification and was exposed to Verilog, SystemVerilog and UVM. Worked on testing related to AXI 4 and i2c. I have some exposure to C++(from 2015), worked(first time) with python scripts and ROS last year.
Sounds great. There are quite a lot of different places where we use this throw/catch style (it's idiomatic C++ and I didn't realise it was verboten until mcy pointed it out!). I'd suggest picking one and then trying to work out how to pass a failure back up the call stack with a return value in a nice way. We can probably work through things in smaller chunks.
Hi, I am working on reading up to understand your answer. Meanwhile, would you clarify the following things:
I'm not sure that an OpenTitan bug report is the best place to find this sort of thing out. For (1), see a C++ tutorial. For (2), see the Google C++ style guide, which we signed up to (for better or for worse...)
These aren't allowed by the Google style guide. Pointed out by @mcy in a recent review.