def test_end_kiss(): """ Tests .end_kiss """ tt.write_word(".end_kiss", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_exdc(): """ Tests .exdc """ tt.write_word(".exdc", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_i(): """ Tests .i """ tt.write_word(".i", delay) tt.write_hotkey("tab", delay) tt.write_word("3", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_inputs(): """ Tests .inputs """ tt.write_word(".inputs", delay) tt.write_hotkey("tab", delay) tt.write_word("IN2 IN1 IN0", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_outputs(): """ Tests .outputs """ tt.write_word(".outputs", delay) tt.write_hotkey("tab", delay) tt.write_word("OUT2 OUT1 OUT0", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_latch(): """ Tests .latch """ tt.write_word(".latch", delay) tt.write_hotkey("tab", delay) tt.write_word("prop1 prop2", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_model(): """ Tests .model """ tt.write_word(".model", delay) tt.write_hotkey("tab", delay) tt.write_word("mycircuit", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_r(): """ Tests .r """ tt.write_word(".r", delay) tt.write_hotkey("tab", delay) tt.write_word("START", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_search(): """ Tests .search """ tt.write_word(".search", delay) tt.write_hotkey("tab", delay) tt.write_word("componentfile.blif", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_p(): """ Tests .p """ tt.write_word(".p", delay) tt.write_hotkey("tab", delay) tt.write_word("13", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_s(): """ Tests .s """ tt.write_word(".s", delay) tt.write_hotkey("tab", delay) tt.write_word("10", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_o(): """ Tests .o """ tt.write_word(".o", delay) tt.write_hotkey("tab", delay) tt.write_word("5", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_subckt(): """ Tests .subckt """ tt.write_word(".subckt", delay) tt.write_hotkey("tab", delay) tt.write_word("COMPONENT", delay) tt.write_hotkey("tab", delay) tt.write_word( "IN_MODEL1=IN_INPUT_OF_CURRENT_FILE1 IN_MODEL2=IN_INPUT_OF_CURRENT_FILE2", delay) tt.write_hotkey("tab", delay) tt.write_word( "OUT_MODEL1=OUT_OUTPUT_OF_CURRENT_FILE1 OUT_MODEL2=OUT_OUTPUT_OF_CURRENT_FILE2", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_names(): """ Tests .names """ tt.write_word(".names", delay) tt.write_hotkey("tab", delay) tt.write_word("IN2 IN1 IN0", delay) tt.write_hotkey("tab", delay) tt.write_word("OUT0", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)
def test_code(): """ Tests .code """ tt.write_word(".code", delay) tt.write_hotkey("tab", delay) tt.write_word("A", delay) tt.write_hotkey("tab", delay) tt.write_word("010", delay) tt.write_hotkey("tab", delay) tt.write_word("rest of file should go here", delay)