Possibility of random file generation in the test suites (algo FSM and link FSM)
This PR deals with issue #5 . One can give a command like : "generate://random" and it will generate and store the randomly generated file. Currently it can do it only for one file. We can build upon it further and have the possibility to have other patterns in the generation later on. For this purpose, I have created another code "generateBoardData.py" and kept in the swatch directory. This generates pattern following format [1]. I have also added the checks in the pipeline as well.
[1]
Board random
Quad/Chan : q00c0 q00c1 q00c2 q00c3 q01c0 q01c1 q01
Link : 000 001 002 003 004 005 0
Frame 0000 : 1v834cb1d7dead0bfa 1v2d7394c068f69350 1v3ebe529401defcac 1vfeb9be673f3d22e0 1vc7fe4aab8ee3729b 1v7bddcb449c38e12a 1v92ffbd3
Frame 0001 : 1v74d1a6833de9eecc 1vaa1314d49606fb2b 1v21f629cc81020b7d 1v38188c078df495d9 1vf89788299c2f3aa7 1v22de8ecd99f70f6f 1vfe8f6f7
Frame 0002 : 1vf311a27146cbbec7 1v65395b44c0583a3d 1v1083c3c06058d1ff 1v98cab36df9d917a0 1v747d67baa8a2f705 1va07fcc8bb22bb0ff 1vfe12f58
Frame 0003 : 1v129b2e821816fe5a 1vc98208cd3f1ffa9b 1vbd4d0110f9c1cad0 1v2b328d04085d16a2 1v7910b36ab508c087 1ve6646b7fe46db9ed 1vd86c99c
Frame 0004 : 1vfb2a4be36dd39604 1v5d1810bf54ac5158 1v6bd0df155c1cbd10 1vba565a38e460d8c4 1vbc6a06b862c9167e 1v6b8af7d6a13fc43b 1v4b4ee12
Frame 0005 : 1v647732ae3487a024 1vbe89f5fbb0f27f3f 1v339e2b476b79e0f6 1vab1c364295ec021b 1vd2922193fbd868cf 1vbed6485486033a37 1vb493864
Frame 0006 : 1v9b86b2699bf70237 1v9c1da75043d629c0 1v2a8bbc4db09589bf 1vfd58ebb2fe0551be 1vfe7b71e4e376c062 1vabc32349c2e1dee8 1v35bdc3b
Frame 0007 : 1v575e4c5d1410d465 1vd55e53b1b57dbc32 1v7c28be9017e2627f 1v99179fc6ab2d3c24 1vfcf5ae42597c17ae 1va2ef1855ef0a1286 1v2992f56
Frame 0008 : 1v3eadd4b22eba7499 1v6a8326631e45060e 1vf447cd16b3f84e63 1vdd6c1bceaaf186fd 1v49fa21d1b4b0c535 1v4c3ee57950bc802a 1v34a37c0
Frame 0009 : 1vd83c0a18f1310078 1vd4828e62bfea9f64 1v61c44b7792799dc4 1v6675120d381e2821 1vf14d190d30ee1464 1vf997e8ae50db7b34 1v72daf43
Frame 0010 : 1vd86fd4b2639edfcd 1v3f473146ce5ddf10 1v693a406684786580 1v7a876b0f174d4338 1vd53e349c6ae429d0 1v1b3488d161ee46df 1vbb58dae
Frame 0011 : 1v30ffa531cdc3ce93 1ve1db00c9f0d44e0b 1v56d4ffb09ba4b7cb 1vc425278de29062a8 1v8f21b559f1458532 1vc31a7cea67b90504 1vfefa4b6
Frame 0012 : 1v41ce91bc3efa9028 1vfc72467e13c34a90 1v4a86ca0b897d4fb8 1v77e8bb4a716c423d 1v4ce5e708f8c620b0 1va59b33cf70cf0876 1v5de7f30
Frame 0013 : 1vee969a9fe5581341 1vcd8f9bed7604352c 1vea7c38b69cce5b03 1v79dfbbb992643823 1vaa8624f25c077526 1vfaff2b01ea3e098e 1vde5186d
Edited by Shilpi Jain