{"action":"closed","issue":{"url":"https://api.github.com/repos/gasparka/pyha/issues/63","repository_url":"https://api.github.com/repos/gasparka/pyha","labels_url":"https://api.github.com/repos/gasparka/pyha/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/gasparka/pyha/issues/63/comments","events_url":"https://api.github.com/repos/gasparka/pyha/issues/63/events","html_url":"https://github.com/gasparka/pyha/issues/63","id":208531313,"number":63,"title":"Float constants no longer convertable","user":{"login":"gasparka","id":16946258,"avatar_url":"https://avatars1.githubusercontent.com/u/16946258?v=3","gravatar_id":"","url":"https://api.github.com/users/gasparka","html_url":"https://github.com/gasparka","followers_url":"https://api.github.com/users/gasparka/followers","following_url":"https://api.github.com/users/gasparka/following{/other_user}","gists_url":"https://api.github.com/users/gasparka/gists{/gist_id}","starred_url":"https://api.github.com/users/gasparka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasparka/subscriptions","organizations_url":"https://api.github.com/users/gasparka/orgs","repos_url":"https://api.github.com/users/gasparka/repos","events_url":"https://api.github.com/users/gasparka/events{/privacy}","received_events_url":"https://api.github.com/users/gasparka/received_events","type":"User","site_admin":false},"labels":[{"id":462175922,"url":"https://api.github.com/repos/gasparka/pyha/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":538640109,"url":"https://api.github.com/repos/gasparka/pyha/labels/low%20priority","name":"low priority","color":"fef2c0","default":false},{"id":462175926,"url":"https://api.github.com/repos/gasparka/pyha/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-17T19:18:21Z","updated_at":"2017-06-21T14:04:02Z","closed_at":"2017-06-21T14:04:02Z","body":"This is a side effect of #59.\r\n\r\nFix is to add another data layer, that is filled only before call to main function:\r\n```vhdl\r\n    type register_t is record\r\n        reg: integer;\r\n    end record;\r\n\r\n   -- this is used to define variable that holds registers\r\n    type self_reg_t is record\r\n        reg: integer;\r\n        \\next\\: register_t;\r\n    end record;\r\n\r\n   -- before call to main function this is filld in with constants\r\n    type self_t is record\r\n        -- constants\r\n        cfloat: real;\r\n\r\n        reg: integer;\r\n        \\next\\: register_t;\r\n    end record;\r\n````\r\n\r\nIt needs to be filled recursively for submodules.\r\n\r\nSetting this as low priority as i have not used float constants not even once. It seems that in the end i always need to specify sfix bounds anyways.\r\n"}}
{"actor":{"display_login":"gasparka"}}