{"action":"created","issue":{"url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/2","repository_url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI","labels_url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/2/comments","events_url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/2/events","html_url":"https://github.com/OpticalMeasurementsSystems/QuickSPI/issues/2","id":224360754,"number":2,"title":"AXI интерфейс модуля","user":{"login":"EvilLord666","id":18068522,"avatar_url":"https://avatars2.githubusercontent.com/u/18068522?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilLord666","html_url":"https://github.com/EvilLord666","followers_url":"https://api.github.com/users/EvilLord666/followers","following_url":"https://api.github.com/users/EvilLord666/following{/other_user}","gists_url":"https://api.github.com/users/EvilLord666/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilLord666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilLord666/subscriptions","organizations_url":"https://api.github.com/users/EvilLord666/orgs","repos_url":"https://api.github.com/users/EvilLord666/repos","events_url":"https://api.github.com/users/EvilLord666/events{/privacy}","received_events_url":"https://api.github.com/users/EvilLord666/received_events","type":"User","site_admin":false},"labels":[{"id":588666980,"url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-04-26T06:46:45Z","updated_at":"2017-06-24T14:18:10Z","closed_at":null,"body":"Необходимо продумать и предложить каким должен быть интерфейс QuickSPI для взаимодействия с другими модулями и процессоорным ядром."},"comment":{"url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/comments/310841217","html_url":"https://github.com/OpticalMeasurementsSystems/QuickSPI/issues/2#issuecomment-310841217","issue_url":"https://api.github.com/repos/OpticalMeasurementsSystems/QuickSPI/issues/2","id":310841217,"user":{"login":"VeryNiceGuy","id":20006020,"avatar_url":"https://avatars0.githubusercontent.com/u/20006020?v=3","gravatar_id":"","url":"https://api.github.com/users/VeryNiceGuy","html_url":"https://github.com/VeryNiceGuy","followers_url":"https://api.github.com/users/VeryNiceGuy/followers","following_url":"https://api.github.com/users/VeryNiceGuy/following{/other_user}","gists_url":"https://api.github.com/users/VeryNiceGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/VeryNiceGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeryNiceGuy/subscriptions","organizations_url":"https://api.github.com/users/VeryNiceGuy/orgs","repos_url":"https://api.github.com/users/VeryNiceGuy/repos","events_url":"https://api.github.com/users/VeryNiceGuy/events{/privacy}","received_events_url":"https://api.github.com/users/VeryNiceGuy/received_events","type":"User","site_admin":false},"created_at":"2017-06-24T14:18:10Z","updated_at":"2017-06-24T14:18:10Z","body":"В общем как я уже говорил ранее появилась мысль перенести все фокусы с байтами и битами в софтварную часть, хотя бы потому что там это делается проще и эффективнее. В железе остается только управление и буферы входящих и исходящих данных. То есть маппинг выглядит так:\r\n\r\nУПРАВЛЕНИЕ:\r\n-------------------------------------------------------------------------------------------------------------------\r\nCLOCK_DIVIDER(1BYTE) - ДЕЛИТЕЛЬ.\r\nCPOL(1BIT) - ПОЛЯРНОСТЬ КЛОКА.\r\nCPHA(1BIT) - ФАЗА КЛОКА.\r\nREAD(1BIT) - НУЖНО ЛИ ЧИТАТЬ?\r\nBURST(1BIT) - ОТПРАВИТЬ ДАННЫЕ ПАЧКОЙ БЕЗ ПРОМЕЖУТОЧНЫХ КЛОКОВ.\r\nACTIVE(1BIT) - ПРОСИМ ПОРАБОТАТЬ.\r\nRESERVED(3BIT)\r\nWRITE_ELEMENT_SIZE(2BYTE) - РАЗМЕР ИСХОДЯЩЕГО ТРАНСФЕРА.\r\nREAD_ELEMENT_SIZE(2BYTE) - РАЗМЕР ВХОДЯЩЕГО ТРАНСФЕРА.\r\nNUM_WRITE_ELEMENTS(2BYTES) - КОЛИЧЕСТВО ИСХОДЯЩИХ ТРАНСФЕРОВ.\r\nEXTRA_WRITE_CLOCK_TOGGLES(1BYTE) - КОЛИЧЕСТВО ПЕРЕКЛЮЧЕНИЙ КЛОКА МЕЖДУ(И ПОСЛЕ) ИСХОДЯЩИМИ ТРАНСФЕРАМИ.\r\nEXTRA_READ_CLOCK_TOGGLES(1BYTE) - КОЛИЧЕСТВО ПЕРЕКЛЮЧЕНИЙ КЛОКА МЕЖДУ ИСХОДЯЩИМИ И ВХОДЯЩИМИ ТРАНСФЕРАМИ.\r\nSLAVE (1BYTE) - ВЫБОР РАБА ПО НОМЕРУ.\r\n\r\nДАННЫЕ:\r\n-------------------------------------------------------------------------------------------------------------------\r\nWRITE_BUFFER - БУФЕР ЗАПИСИ.\r\nREAD_BUFFER - БУФЕР ЧТЕНИЯ."}}
{"actor":{"display_login":"VeryNiceGuy"}}