Tuesday 24 October 2017

Scripting Magic

  1. Random Number generation using Make file:
========================================================
          RANDOM := $(shell /bin/bash -c "echo $$RANDOM")

          test:
                         echo $(RANDOM)
========================================================
Linux type below:
> make test
echo 5184
5184



         

No comments:

Post a Comment

Featured post

Low Power Special Cell

List of Low Power Cell: Isolation Cells Level Sifters Retention Registers Power Switches Always-ON Buffer/Inverter  Isolati...