Wednesday, March 30, 2011

User Interactions for T-Nano

In this blog post I will be explaining the UI of the proposed T-Nano circuit simulator. Once the circuit is drawn, the simulator will appear  as shown in the figure below. First the supporting tools in this user interface are described. (by clicking on any of those Images you can have an enlarged version of it)

The white area with gray color grids is the area for implementing the circuit. For each cell in the grid you can insert any pre-defined tile in Nano cct designing.

Zoom : In the top right hand corner you can find  the zoom in and zoom out options.


Add New Rows & Columns : The green + marks at top right hand corner and bottom left hand corner will allow you to add new blank rows to the canvas. And also when the cct diagram gets closer to the boundaries it will automatically add new rows and columns to stretch the canvas.
There will be 5 main menus as File, Insert, Simulate, Selection and Help.

File:
  • New - Clear the whole drawing and create a blank drawing canvas
  • Open - Opens a saved cct drawing
  • Save  - Save a cct drawing
Insert:
  • This will have a list of names of the tiles available. Including the supporting tiles such as "Input", "Output". Still the users will not need to use them frequently while a easy pop up menu is designed for inserting new tiles. 
  • There will be a list of items created by the user himself ( such as and gate, not gate, etc )
Simulate:

  • Run Simulation - once the cct is ready to test you can select this to run the simulation. Once you run the simulation you will get a window similar to last interface given in this blog post.
  • Settings - here the user will get a chance to set simulation variables, such as error probability and number of turns needs to simulate with introducing different error tiles. 

Selection:

  • Copy, Cut, Paste, Delete or "Save Selection" will be here. In the save selection use can select a set of tiles and name them such as "And gate" or what ever they wish and save that selection. Then the user can use them again and again by selecting the Insert menu. 

Help:

  • This will include how to use the tool and also some details about the research group and project T-Nano
Following are some of the screenshots of the proposed user interface of T-Nano. Following shows how it looks when user selects multiple elements in order to copy or many be for delete.
And the menu below will be popped up when a user click on top of a blank tile. Then user can easily select what tile should go there. If user save new selections such as "And gate" "Not gate" they will be presented here as well.
Finally this UI demonstrate how it will look like after running a simulation. By the settings user has set the error rate to 1% and number of test turns to 100000. And the results will show how many ccts have been failed to give the correct result. In this example it shown that 6 ccts been failed. And the user can select on the list shown and view what tiles were acting wrong in that steps. Once the user select the cct from the list it will be shown in the left side space.
Finally the create report button is also introduced if the user needs to get the errors as a file other than user interface.

Tuesday, March 29, 2011

T-Nano Data Presentation for search algorithm

Here is a small presentation on back-end development for TNano. But here I just assumed the characteristics of some tiles.