This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; XSVF Assembly language example file | |
| ; | |
| ; All XSVF instructions are used here | |
| XSDRSIZE 48 ; XSDRSIZE must be set for the decoder/disassembler to work | |
| ; properly. | |
| XTDOMASK ; Comment test | |
| 00 00 00 00 00 00 | |
| XSIR 8 00 ; Comment test | |
| XSDR ; Comment test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./xsvf -c disasm ../xsvf/XC2C64A/idcode.xsvf | |
| 07 00 XREPEAT 0 | |
| 13 00 XENDIR RUN_TEST_IDLE | |
| 14 00 XENDDR RUN_TEST_IDLE | |
| 12 00 XSTATE TEST_LOGIC_RESET | |
| 12 01 XSTATE RUN_TEST_IDLE | |
| 02 08 01 XSIR 8 01 | |
| 08 00 00 00 20 XSDRSIZE 32 | |
| 01 0F FF 8F FF XTDOMASK | |
| 0F FF 8F FF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Created using Xilinx Cse Software [ISE - 14.7] | |
| // Date: Thu Jul 23 18:41:49 2015 | |
| TRST OFF; | |
| ENDIR IDLE; | |
| ENDDR IDLE; | |
| STATE RESET; | |
| STATE IDLE; | |
| FREQUENCY 1E6 HZ; | |
| //Operation: ReadIdcode -p 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Performs an exponential moving average of the specified range, | |
| * handling missing data in a way that does not distort the average. | |
| * | |
| * If the spcified window size is less than the range size, an array | |
| * is returned, so there is no need to call this function serveral | |
| * times in a row. | |
| * | |
| * @param alpha The geometric progression ratio. | |
| * @param windowSize The size of the moving average window. |