loaded_filename

This commit is contained in:
Martin Kavík 2024-06-17 19:36:44 +02:00
parent fc0dd43464
commit 4545656c31
3 changed files with 6 additions and 4 deletions

View file

@ -49,8 +49,9 @@ impl FW {
0
}
pub fn loaded_filename() -> String {
format!("todo loaded filename")
/// JS: `FW.loaded_filename()` -> `simple.vcd`
pub fn loaded_filename() -> Option<String> {
STORE.loaded_filename.get_cloned()
}
/// JS: `FW.selected_vars()` -> `["simple_tb.s.A", "simple_tb.s.B"]`